The totality of all the external conditions affecting the life, development and survival of an organism.