I am confused by this reply. These are just completely different terms. I mean ‘ecological niche’ in the formal sense: roughly, the differentiated properties of a species that allow it to better survive in and draw from its partitions of its habitats.
https://en.wikipedia.org/wiki/Ecological_niche