What chemicals cause the acrid smell of burning food?
Take a look at this link about Maillard reactions:

http://www.landfood.ubc.ca/courses/fnh/301/brown/brown_prin.htm

And what occurs if continue burning: pyrolisis

http://www.healthy-food-site.com/burnt-food.html