Menstruation (mammal)
Most female mammals have an estrous cycle, yet only ten primates species, four bats species, the elephant shrew, and the spiny mouse have a menstrual cycle. The relatedness of these groups suggests that four distinct evolutionary events have caused menstruation to arise.
Endometrium
The endometrial lining undergoes cyclic regeneration. Humans, apes, and some other species display the menstrual cycle, whereas most other mammals are subject to an estrous cycle. In both cases, the endometrium initially proliferates under the influence of estrogen. However, once ovulation occurs, the ovary (specifically the corpus luteum) will produce much larger amounts of progesterone. This changes the proliferative pattern of the endometrium to a secretory lining. Eventually, the secretory lining provides a hospitable environment for one or more blastocysts.