I've heard Compression socks are good for travel, but why?what do they help?lol

Footless,tights,knee highs..which one??