Caramelized onions are cooked in a frying pan on a gas stove.