Swirling aerates the wine, allowing it to acquired contact with oxygen, thus releasing odors.
It is true that wine are often drunk and swallowed without paying much attention. Much of use perceive as taste it's smell, reliable is major component in tasting wine. https://penzu.com/p/1c1853f84c87edaf