Device capable of either generating electrical energy from chemical reactions or using electrical energy to cause chemical reactions.