Ovulation vs. Period

Pr

What’s the difference between ovulation and being on your period? And how does that affect pregnancy? I plan to wait until marriage but in case I was forced into anything