A galvanic cell is constructed using the redox reaction, it is represented as:12H2(g)+AgCl(s)⇌H+(aq)+Cl−(aq)+Ag(s)