A niche involves both abiotic factors and biotic factors.
Abiotic factors refer to non-living components of the environment, such as temperature, soil, water, and sunlight. Biotic factors refer to living components, including interactions with other organisms, like predators, prey, competitors, and symbiotic relationships.
Therefore, the correct answer is Both.