How do penguin survive in harsh climate?

Penguins huddle in packs to keep warm. The males have to do that when they are protecting themsleves and their eggs.