The mysterious hat

One day when my family and i was walking to the cafe i spotted a hat on the road.I told my dad to see if i can go and get it.i ran onto the road as fast as i could so i didn’t get run over. Suddenly i started running faster since the hat was floating away.My dad ran after the hat too, in case the hat lead me somewhere mysterious.I jumped as high as i could to see if i could reach the hat and bring it back down but instead i landed right on my head and grazed all down my leg. Finally my dad and i found our self in our shed. We found the hat on the hat on the table but why was the hat on the table and why were we in the shed?