Queer theory is a framework that examines how ideas of gender and sexuality are constructed and contested.