It is drunk as an aperitif, and indeed throughout the meal.
It is drunk both during the meal and as an aperitif.