All ecosystems consist of two parts. What are they?