When a driver turns on the indicator, a bimetallic spring gets heated and touches a metal strip. That completes the circuit and makes the light flash and causes the clicking sound.