The crustaceans eat algae which would otherwise block the needed sunlight, giving the corals space to grow and settle.