Given a scientific question, generate a correct answer to it.
Q: Niche and habitat are concepts related to what broader term?
A:
ecosystem