A habitat is made up of physical factors such as soil , moisture , range of temperature , and light intensity as well as biotic factors such as the availability of food and the presence or absence of predators .