'Dog Days of Summer': What are they, and what do they mean?

What pops in your head when you hear "Dog Days of Summer"? Warm, humid weather? However, the origin of the saying actually relates to space.