How does oral birthcontrol work?

Allison • I am a 18 year old, artist who wants to get married, have two beautiful kids, and love life.❤️
I was wondering how this works? How a pill can make you not get prego..?