What is the purpose of a varistor in circuit protection?
A varistor, or voltage-dependent resistor, is used in circuits for protection against excessive transient voltages. It changes resistance with the voltage applied and clamps high-voltage surges, thus protecting sensitive electronic components.