Closing costs are various fees and expenses paid at the end of the home-buying process to finalize the mortgage and transfer ownership. They typically range from 2% to 5% of the loan amount and cover services like appraisal, title insurance, legal fees, and loan origination fees.