A tenancy agreement is a contract between a landlord and a tenant. It records all the key things that a landlord and a tenant have agreed to about the tenancy.
Your tenancy agreement should say how much notice you need to give your landlord before you leave the property. You're responsible for paying rent for your entire fixed-term tenancy. You can move out early without paying rent for the full tenancy if: there is a break clause in your tenancy agreement.