Roasted carrots are sweet because carrots naturally contain sugar. When you roast them, the sugars are roasted as well which gives them a slightly caramelized flavor.