Ovulation occurs when an egg is released in preparation for pregnancy. In some menstrual cycles, an egg does not mature, and a woman does not ovulate. This is known as anovulation. Anovulation may cause irregular menstrual cycles or no periods at all.