Yes, animals get their energy through the consumption of food. The nutrients from the food they eat are broken down through digestion and converted into energy through metabolic processes in the body. This energy is used for various biological functions such as growth, movement, reproduction, and maintaining body temperature.