an organism that obtains energy from food is called a consumer. If an organism is able to manufacture its own food from other energy sources e.g. plants from light, oxygen and water, it is called a producer.
All animals obtain energy, in some amount or form, from the food they eat. The food is broken down into nutrients, sugars, carbohydrates, and other needed substances. When the food is broken it releases those things into the body, giving it energy.