Animals camouflage themselves in their habitats by blending in with their surroundings through coloration, patterns, and textures that match the environment. This helps them avoid predators and also allows them to sneak up on prey more effectively. Some animals can change their color to match their surroundings, while others have natural patterns that mimic the environment they live in. Additionally, some animals use behaviors like staying still or hiding in plain sight to further enhance their camouflage.