Electrochromic glass works on the principles of electrochemistry. The glass contains a layer of electrochromic material, typically tungsten oxide or nickel oxide, which can change its color when exposed to an electric current. The material is sandwiched between two layers of conductive material, such as indium tin oxide, which act as electrodes. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.