The Equality Act 2010 consolidates and streamlines various pieces of anti-discrimination legislation into a single act. It aims to protect individuals from discrimination on the basis of age, disability, gender reassignment, marriage and civil partnership, pregnancy and maternity, race, religion or belief, sex and sexual orientation. The Act prohibits discrimination in employment, education, access to goods and services, housing, and transport. However, discrimination still exists in practice due to factors like stereotypes in media and education as well as difficulties enforcing the law.