What is the action of the high limit switch on the top of a solar hot water storage tank?

What is the action of the high limit switch on the top of a solar hot water storage tank?