A mortgage is a financial agreement in which a borrower obtains funds from a lender to purchase real estate, with the property serving as collateral. Mortgages typically involve regular payments of principal and interest over a set term, and their availability and cost are influenced by interest rates, credit conditions, and housing market trends. They play a central role in homeownership and are closely watched by policymakers and investors for their impact on the economy.