A stand of pine trees of one species in a forest can be described as a population. The insects, shrubs, fungi and other species there form additional populations. Together, the populations living in that place make up a biological community.
An ecosystem includes the living community and its nonliving surroundings, such as water, soil and light, along with the interactions among them. Choosing the right level helps answer a question: pine reproduction concerns a population; how pine trees affect nearby insects concerns a community.