Why do birds live in a aviary?

Aviary is a word derived from the Latin root Ave meaning bird.