Yes, hydrogen peroxide (H2O2) can act as both. It can donate electrons, acting as a reducing agent, or accept electrons, acting as an oxidizing agent, depending on the reaction conditions.