How can humans confine birds and sparrows in a cage, a gift from God created to fly from tree to tree?

How can humans confine birds and sparrows in a cage, when they are a gift from God created to fly from tree to tree, and from rose to rose?