Why do bimetallic strips bend?

A Bimetallic Strip is made of two different metals joined together. The strips coils when it is heated and when the strip cools the strips uncoil again. And movements of the strips can operate a type of electrical switch.