Bacterial infection may play a crucial role in the development of endometriosis, offering new insights into potential treatments.