They have a switch built into the circuitry - a thermostatic switch nearly always with a tell-tale neon light - orange...
As it warms up the switch is closed and the light is on - then when it gets up to temperature the thermostatic switch opens - heating stops - the light goes out - things begin to cool down.
Then the switch closes and it all starts over again.
B Simpson, October 2014