What is the function of cork in plants?

Cork insulates the tree against heat and cold.