Period and pregnancy

I know a lot of people say they have heard of people having their period while pregnant? Is this true? And is it a different type of bleeding than a period before pregnancy, do you bleed the same? Same length of days?