The niche of an organism is the functional role that it plays within an ecosystem. The niche (better refined as the 'ecological niche') is determined by the abiotic factors, which comprise of living features such as animals, plants and fungi, and biotic factors.
This is what I found on the internet hope it helps