The mud has little oxygen, so the mangroves have developed a root system where the roots are exposed to the air and gases are exchanged.