A new smart window offers more than just a nice view—it also controls the transmittance of sunlight, heats the interiors of buildings by converting solar radiation into heat, and virtually eliminates E. coli bacteria living on the glass. In the future, such sterile smart windows may be used in airplanes, hospitals, public transportation, and other areas.