Final answer:
A habitat is the physical environment where an organism lives, while a niche refers to the role an organism plays within its habitat.
Step-by-step explanation:
A habitat refers to the specific physical environment in which an organism lives, typically characterized by its biotic and abiotic factors. A niche, on the other hand, refers to the role or position that an organism occupies within its habitat, including its interactions with other organisms and its utilization of resources. To understand the distinction, consider the example of a bird species: its habitat may be a forest, while its niche may involve feeding on insects and building nests in tree branches.
Learn more about habitat and niche