why do we???

can someone explain to me why we get monthly periods?? im 13 and would like to know.