Oak offers three major contributions to wine:
It adds flavor compounds–including aromas of vanilla, clove, smoke and coconut.
It allows the slow ingress of oxygen–a process which makes wine taste smoother and less astringent.
It provides a suitable environment for certain metabolic reactions to occur (specifically Malolactic Fermentation)–which makes wines taste creamier.