Oenology is the science of wine and winemaking, including the fermentation process in the cellar.
Oenology is mostly confined to the work being done indoors, i.e. the vinification process in the cellar. It does not include the outdoor processes of viticulture (the growing, cultivation, and harvesting of grapes).
An oenologist is an expert in the science of wine and wine making.