Final answer:
A niche refers to an organism's role, while a habitat refers to its physical location and environment.
Step-by-step explanation:
The main difference between a niche and a habitat is that a niche refers to the role or position that an organism has in its environment, including its interactions with other organisms and its behavior, while a habitat refers to the physical location or area where an organism lives and meets its basic needs.
For example, a niche for a squirrel could be the role of a seed disperser in a forest ecosystem, while its habitat would be the specific area within the forest where it resides, such as a tree hollow or nest.
In summary, a niche describes an organism's ecological role, while a habitat describes its physical environment.
Learn more about Difference between niche and habitat