Title insurance is a form of indemnity insurance that protects property buyers and lenders against losses due to defects in a property's title, such as outstanding liens or ownership disputes. It plays a crucial role in real estate transactions, ensuring that the buyer receives clear and marketable title to the property, free from any claims or encumbrances that could affect ownership rights.