Yes, mangroves produce oxygen. The ability to produce oxygen may vary with the specie of the mangrove tree.