The conversation between human and AI assistant.
[|Human|] Categorize the list of animals into two categories according to their habitats
[|AI|] 1. Terrestrial Animals: cat, tiger, gorilla, elephant
2. Aquatic Animals: whale.
[|Human|] 
Categorize the list of animals into two categories according to their habitats