The proton bonded to oxygen of an alcohol is much more acidic than proton bonded to carbon. This difference can be accounted for on the greater electronegativity of oxygen, which polarizes the O-H bond. The hydrogen on oxygen is replaced by sodium for example