Because it controls everything! You could say it helps to achieve 'internal equilibrium'; everything has to be in balance, homeostasis makes sure you don't have too much or too little of certain things. It is needed to maintain a constant internal environment.
Hope this helps you:)