The process of breaking chemical bonds, forming new bonds, or both.