Principal is "the total amount of money being borrowed or lent; the initial amount of money invested" (Investor.gov). Interest is figured on it.
On a loan, each payment is split between interest and principal. Early on, more of the payment usually goes to interest (CFPB). For a $25,000 loan at 7% for 60 months, the first $495.03 payment includes $145.83 of interest and $349.20 of principal, leaving a balance of $24,650.80.
On savings or an investment, principal is the money you put in. If you deposit $1,000 and earn $40 in interest, the principal is still $1,000; the balance is $1,040.
This step-by-step paydown is called amortization.