Most of the coral reefs we can see today were formed after the last glacial period when melting ice caused the sea level to rise and flood the continental shelves.