Jahn-Teller distortions in transition metal compounds, and their importance in functional molecular and inorganic materials.