Why do birds stand on one leg?

Why do birds stand on one leg?

Also why 'erb?