why are foods and environment of organisms important in their life cyclesand survival​