 Those islands are atolls. They are not pieces of rock, or they are, but they're surrounded by coral. Coral makes up the majority of the atoll and the island. And the coral is a live thing. The coral grows up with gradually rising sea levels.