I am reviewing moles, and came across this sentence in my book:
One mole of a compound has a mass in grams equal the molecular weight of the compound expressed in amu and contains $6.022\times10^{23}$ molecules of that compound.
Now, I perfectly understand the second part of the sentence. 1 mole of compound has $6.022\times10^{23}$ molecules. But how do $6.022\times10^{23}$ molecules have a mass same as the molecular weight of compound?
Ex. Molecular weight of $\ce{SOCl2}$ is $119\ \mathrm{amu}$. That is the mass of 4 atoms. How do $6.022\times10^{23}$ molecules have the same mass?