The endocrine system plays an important role in homeostasis because hormones regulate the activity of body cells. The release of hormones into the blood is controlled by a stimulus. For example, the stimulus either causes an increase or a decrease in the amount of hormone secreted.
If a raise in body temperature (stimulus) is detected (receptor), a signal will cause the brain to maintain homeostasis (response). Once the body temperature returns to normal, negative feedback will cause the response to end. This sequence of stimulus-receptor-signal-response is used throughout the body to maintain homeostasis.
The ultimate source of energy (for most ecosystems) is the sun<span>. The ultimate fate of energy in ecosystems is for it to be lost as heat. Energy and nutrients are passed from organism to organism through the food chain as one organism eats another.</span>