The corpus luteum plays an important role in the preparation of endometrium for the implantation of fertilized egg by secreting oestrogen and progesterone hormones. But if the egg is not fertilized then the corpus luteum begins to degenerate and it stops the production of progesterone and oestrogen hormones, which causes shedding of the endometrium lining menstrual bleeding.