The basic principles of operation of gas sensors based on solid-state galvanic cells are described. The generation of potentials and currents as a function of the partial gas pressures is considered for three types of solid electrochemical sensors: (i) direct measurement of the mobile species; (ii) indirect measurement of immobile components; and (iii) analysis of other species by employing auxiliary solid phases. Recent experimental advances are presented for illustration. The limitations and areas of necessary future research are indicated.