Answer:
forest
Explanation:
deer are both herbivores and prey therefore they are affected by and themselves affect their ecosystem