Does the pill stop ovulation from happening?

What exactly does it do? Lmao