to maintain homeostasis what must follow the chemical decomposition of food for energy production