Evaporated milk is used in mac and cheese because it thickens the cheese sauce and makes it creamier. It also helps to add a bit of flavor to the dish since the milk is cooked, bringing out a subtle sweetness in milk.