Stocks and bonds are simply contracts, or agreements, between parties. I agree to loan you a certain amount, and you agree to repay me this amount plus something extra at some future date, or I agree to buy part ownership in your firm, and you agree to give me a share of the firm’s future profits.