The correct option is B
Functional position or role of an organism in the environment.
Explanation:
An ecological niche is a role and position a species takes up in its environment which includes its food and shelter needs, interaction with other species etc.