Abiotic factors are nonliving elements of an ecosystem that have an impact on its surroundings. Variables in a terrestrial environment include temperature, light, and water. Salinity and ocean currents are examples of abiotic factors in a marine ecosystem.