What happens when cheese is melted in a frying pan?
Milk proteins, mostly. And some sugars that have been caramelized.

This is an example of what one chef I know describes as "brown food tastes better," and is much like what happens when you sear a steak on the grill.