Animals adapt to camouflage in their habitats through various methods such as changing their color or pattern to blend in with their surroundings, resembling objects in their environment, or using behavioral strategies like staying still to avoid detection. Camouflage helps animals avoid predators or sneak up on prey, increasing their chances of survival in their natural habitat.