Why would I ovulate

Why is it possible to still ovulate even when taking the pill perfectly?? Is there any way for me to know before it’s too late? If I do ovulate, is it going to be close to the predicted time of ovulation if I weren’t on the pill?