What is the purpose of a Section 21 notice?

A section 21 notice is a no-fault notice which allows a landlord to regain possession of the property at the end of a tenancy.