The correct option is B Chemical → electrical
In electrolysis method, the chemical energy stored in the components involved (metal rods and electrolyte) is converted into electrical energy that flows in the form of electric current through the external wires connected to the metal rods.