Galvanic cells (also voltaic cells) generate electricity from chemical reactions.