Environmental factors such as sunlight, water, temperature, nutrients, wind, salinity, and wave action shape the evolution of species and determine what types of plant and animal communities can thrive in different ecosystems. Australian ecosystems have adapted to a diversity of environmental conditions including arid climates, variable rainfall, high salinity, fires, and poor soil. Resources in an ecosystem including energy, biomass, and nutrients cycle between biotic and abiotic elements due to the actions of producers, consumers, and decomposers.