what are the beneficial interactions between the living things and nonliving things in coral reefs state their effects on the coral reef​