Galvanic cells, also known as voltaic cells, are electrochemical cells that convert chemical energy into electrical energy through spontaneous redox reactions. They consist of two half-cells connected by a salt bridge, with electrons flowing from the anode to the cathode, generating an electric current.