Estrogen receptor (ER) plays a crucial role in the development of endometriosis, with two key receptor subtypes involved: estrogen receptor α (ERα) and estrogen receptor β (ERβ). The gene discussed is ESR2; the disease is endometriosis.