An environmental factor is an element in the environment that affects the ecosystem, including both biotic and abiotic elements. Biotic factors include living organisms such as plants and animals, while abiotic factors include non-living elements such as water, light and temperature.