It consists of two electrodes, where one electrode is made of a pure solid material and the other of the same material but selectively oxidized or reduced. A concentration difference is formed between the two halves due to the change in the material state, leading to a potential difference between the two electrodes.