Using machine learning algorithms, five key genes were selected in the endometriosis: BST2, IL4R, INHBA, PTGER2, and MET. The gene discussed is BST2; the disease is endometriosis.