The reaction shown is a reduction of an aldehyde to an alcohol. This is typically done with a reducing agent such as
NaBH4. The aldehyde is reduced, but the atom within the aldehyde that is gaining the electrons (being reduced) is usually thought of as the being the carbon not the oxygen.