The OEB is the regulator that licenses industry participants, establishes operational codes, regulates the rates for transmission and distribution, approves sales or purchases of regulated utilities and investigates customer complaints, both for electricity and gas.