The physical, chemical, and biological features of the environment where an organism lives.