The molecular mechanisms underlying autophagy in endometriosis involve the activation of the AMPK/mTOR pathway and the upregulation of autophagy-related genes such as LC3B and Beclin1. The gene discussed is MTOR; the disease is endometriosis.