A foundation species is different from a keystone species in that it does not relate to the trophic levels. However, these species do provide habitat, food, and resources to others within the ecosystem. Trees within a forest are a foundation species since they provide food, shelter, and other resources. The same can be said for coral.