To determine the role of $H_2O_2$ in each equation, we need to analyze whether it undergoes oxidation or reduction.
Hence, in both equations (A) and (B), $H_2O_2$ acts as a reducing agent. Therefore, the correct answer is: $H_2O_2$ acts as a reducing agent in equation (A) and (B).