A tenancy agreement is a legally binding contract between a landlord and a tenant, outlining the terms and conditions of the rental property. It serves as a safeguard for both parties, ensuring that their rights and responsibilities are clearly defined.