What is an atoll formed from?

An atoll is formed from a coral reef and sometimes receding land or a volcanic structure.