Coral reefs are an amazingly effective first line of defense for coastal communities.