That toasty, nutty flavor is thanks to Maillard reactions. That’s a fancy science term for when you roast them and the sugars and amino acids get all cozy. Chemistry, baby!
Raw peanuts taste kind of like raw beans—meh. But roast them, and suddenly you’ve got a flavor bomb that demands to be sprinkled on ice cream.