The availability of abiotic factors such as light, moisture, mineral salts, heat and carbon dioxide, more or less conditions the biodiversity of an ecosystem. Photosynthesis depends on water and light, and plants also need mineral salts, carbon dioxide and adequate temperature for their cells to work. In environments where these factors are not restrictive, the synthesis of organic material (by photosynthesis) is at a maximum, plants and algae can reproduce easier, the population of these organisms increases, potential ecological niches multiply and new species emerge. The large mass of producers makes the appearance of a diversity of consumers of several orders possible. In environments with restrictive abiotic factors, such as deserts, producers exist in small numbers and have less diversity, a feature that is extended to consumers and causes fewer ecological niches to be explored.