Animals have tails for various reasons, depending on the species. Tails can help with balance, communication, defense, and even as a tool for certain tasks like grasping objects or swimming. They can also serve as a source of fat storage or to distract predators by being detachable. Overall, tails are a common feature in the animal kingdom that has evolved for a variety of functions.