Period ? Pregnant ?

Has anyone had a complete menstrual cycle (4 days of medium flow) and was pregnant ? 
I am confused ... How can someone be pregnant & have periods ? I don't get how someone doesn't realize they are pregnant because they didn't miss any periods until they are 7 months pregnant ... Someone explain ?