This document outlines the flow of energy and cycle of matter through ecosystems. Energy from the sun is used by producers like plants and some bacteria and transferred to primary, secondary, and tertiary consumers. Matter cycles as organisms decompose and inorganic matter is reused by producers.