This type of reaction occurs when heat is used to decompose a compound into its constituent elements.