https://en.wikipedia.org/wiki/Maillard_reaction
Lots of cool science stuff in the linksugar makes stuff brown.
Science has to do with heat converting sugar molecules to carbon