Niche

the specific type of habitat an organism inhabits and its role or function in an ecosystem