A mineral is a naturally occurring, inanimate object with a highly specific chemical composition. Coral is the fossilized remnants of a living aquatic creature and thus does not qualify.
Coral is...
They do not produce their own food but capture and ingest They have a single-opening alimentary canal They have no cell wall, only a cell membrane They aspirate oxygen, only