Ovulation?

So I am getting my first lovely period but I wanted to know about ovulation. Does it happen during your period, after your period, or before. In general I want to know how ovulation works.