Capital structure refers to the mix of long-term funding sources like debt, preferred shares, common equity, and retained earnings that make up a company's total capitalization. The optimal capital structure balances the costs and benefits of different funding sources to maximize a company's value. Financial planning helps determine the appropriate capital structure for a company's operations and financial goals.