 Because of the volcanic rock, the soil is relatively rich in some areas.A coral reef encircling much of the island ensures protection for ships and a habitat for fish.Dzaoudzi was the capital of Mayotte (and earlier the capital of all the colonial Comoros) until 1977, when the capital was relocated to Mamoudzou on the main island of Grande-Terre.