Every habitat has certain conditions which make it suitable for some organisms but not for others. These conditions make up the environment. An organism's environment consists of two parts: the physical (abiotic) environment and the biological (biotic) environment.

The physical environment includes physical features such as temperature, light, etc. The biotic environment is made up of all the other organisms in the habitat.