Period

What does it mean when you have your period like may 30 to june 3 then your next period starts june 28 to july 4. Why does our first period and in june and then your second period starts in june same month.