The fruit and leaves feed crabs whose waste products in turn feed fish, prawns, and mollusks.
Crabs eat fruit and leaves then excrete waste that feeds fish, prawns, and mollusks.
I will reiterate what happened for the benefit of the reader.