Corporate finance involves the financial activities related to running a corporation, with a primary goal of maximizing shareholder value through long-term and short-term financial planning and the implementation of various strategies. It encompasses decisions regarding capital investment, financing, dividends, and risk management to ensure the efficient allocation of resources and optimal financial performance.