Animals need to be in their own habitat! They need to know their survival skills out in the wild! Plus, captivity makes animals CRAZY!!!
It could strangely hurt or injure them by frustration or boredom. It doesn't matter if we can not see them! In conclusion, that is why animals need to be in their own habitat.