In lab H2O2 is prepared by reaction of BaO2⋅8H2O and H2SO4(cold). A paste of BaO2⋅8H2O is prepared in ice-cold water and then added gradually to ice-cold dilute sulphuric acid. Barium peroxideBaO2⋅8H2O+H2SO4→BaSO4↓+H2O2+8H2O
Barium sulphate precipitates out leaving behind a dilute solution of hydrogen peroxide.