What living and nonliving things are environments composed of?