Which best describes how an organism’s niche is determined?

Which best describes how an organism’s niche is determined? an organism’s habitat and inherited traits determine its niche.an organism’s habitat and ability to reproduce determine its niche.an organism’s size and ability to fight determine its niche.an organism’s population and prey determine its niche