Coral reefs are fraught with danger for herbivores such as damselfish and tangs. Venturing out from the safety of the reef’s colorful cracks and crevices to feed means risking being devoured by predators that patrol the warm waters.