Having sex on your period

Can you get pregnant if you have sex during your period? During your period, what is happening in the uterus/fallopian tube? When are eggs released.. I'm so confused with the whole cycle and I'm a girl! :( #feelinguseless