The invention discloses a window and belongs to the field of building materials.The window comprises glass, a window frame, at least two glass installation frames, a first power source used for providing power, a light-sensitive
resistor used for detecting
light intensity, an adjusting
resistor, a single-pole switch and a transmission device.The first power source is fixed to the glass installation frames, the light-sensitive
resistor is installed on the glass, the glass is twisted nematic
liquid crystal glass, and the first power source, the light-sensitive resistor, the adjusting resistor, the twisted nematic
liquid crystal glass and the single-pole switch are sequentially connected in series to form a circuit.The transmission device comprises a first gear, an installation shaft, a rack, a second gear, a third gear, a shaft sleeve, a first
bevel gear, a second
bevel gear, a motor, an electromagnetic
relay, an installation frame, a resistor, a second power source and a single-pole double-throw switch.The window can change indoor light by increasing or reducing light of the twisted nematic
liquid crystal glass, and meanwhile the window can be automatically closed or opened through the transmission device.