Wine is made by the fermentation of the sugar in grapes . There are two main types of wine , red wine and white wine . The sweetness of wine is determined by the amount of residual sugar in the wine after fermentation , relative to the acidity present in the wine .