Why ducks sleep on one leg

Why ducks sleep on one leg