The functional layer of the uterus containing the glands becomes necrotic, and eventually sloughs off during the menstrual phase of the cycle.
The glandular layer of the uterus, which contains the glands, becomes dead tissue and eventually falls off during the menstrual phase of the cycle.