How does a pop up thermometer used in cooking turkeys work?

The melting point of an alloy can be altered by changing the composition. Certain organic materials have also been developed for the same purpose. Shown below is a simplified diagram of the pop-up thermometer used in cooking turkeys. Describe how this thermometer works.
http://forum.belmont.edu/cornwall/popup.gif