All animals depend on plants. Some animals eat plants for food. Other animals eat animals that eat the plants.
An organism's patterns of behavior are related to the nature of that organism's environment, including the kinds and numbers of other organisms present, the availability of food and resources, and the physical characteristics of the environment. When the environment changes, some plants and animals survive and reproduce, and others die or move to new locations.