HCAs are formed through the Maillard reaction, which is a chemical reaction between amino acids and reducing sugars that occurs upon heating. The presence of creatine, a compound found in muscle tissue, also plays a crucial role in the formation of HCAs. Cooking methods that expose meat to high temperatures and open flames, such as grilling or broiling, are particularly conducive to HCA formation.