Understanding the influence of the immune system in endometriosis