Ecology is the study of plants and animals in their natural environments or habitats. A habitat provides a place for animals and plants to live and can include areas like trees, grass, roofs, soil, wood, and stones that may be found in a school yard. Different habitats in a school yard support various predator and prey animals that live in areas like trees, grass, soil, and other locations in the school yard environment.