Caramelizing foods occurs through applying heat to them to brown the natural
sugars they contain.
To caramelize onions, for example, chopped or sliced onions are cooked over a medium-high temperature to allow them to become golden and then browned, but not burnt.