a crab depends on corals as its habitat