Habitat contamination occurs when pollutants and toxic substances are introduced into an environment, disrupting the natural ecosystem and posing threats to wildlife and human health. These contaminants can come from various sources such as industrial activities, agricultural runoff, and improper waste disposal, leading to long-term ecological damage if not managed properly.