We can create an Animal class to bundle the main features of the animals.

Then, using inheritance, we can extend it with additional functionality for the different kinds of animals.