a free amino group of a protein reacts with a carbon-r group of a sugar, producing something called n-glycosylamine. this is unstable and is basically a downstream product. it breaks down into something called the melanoidins, which can be bitter to taste.