Does every organism have a variety of habitats to live successfully in its environment?

No, every organism has a variety of adaptations that are suited to its specific living conditions.