they get the energy they need from their food
Animals get the energy they need for growth and repair from the food they eat.
they get it from the food they eat
Everything in the food chain uses solar energy. Plants use it to grow and to make it's food. Animals need it because that is what they eat and we need animals and plants to survive.
Plants make their energy by using the sun and animals eat plants or animals or both. We can't make our own food (energy) so we have to eat others.
So they can escape from the animals that are pray on them. Animals need to move to get food and get away from danger. Animals need food for energy.
The need to consume food for energy; animals do not make their own energy. In most cases, though not all, animals also have a means of locomotion.