Why do we get ovulation pains?

Jess
I don't understand the whole process of it. Advice please?