MILLION DOLLAR QUESTION

I see women on here all the time saying they got pregnant at any point in their cycle. i did some research and it said that you’re chances of getting pregnant are highest at ovulation and leading up to it. how do women get pregnant if there is no egg to be fertilized? isn’t the egg only there for 12-24 hours? i just need to make sense of this!!