Around 170°C (338°F) — and a few degrees changes everything
Below that point, sugar just melts. Heat it past about 170°C and it starts to brown into sweet caramel. Push it too far and it turns bitter, then burns to black carbon. The whole range spans only a few dozen degrees, which is why caramel is so easy to ruin.