Period while pregnant..?

I've heard of this a couple times where a woman will have a normal period and take a test just because and gave it come back positive.. How is this possible!? How would you know you're pregnant if you continue to have a period?