For sanitation purposes magnesium peroxide is often used as a source of oxygen for aerobic organisms in the treatment and disposal of biological waste.
In certain circumstances MgO2 has also been shown to inhibit growth of bacteria.