This type of ecology involves the study of how energy flows through ecosystems and how matter is recycled.