And simply because we can't weigh one atom of anything, but we can of one
Mole (Avagadro's number) of atoms and get a weight that gives us weights. Those weights show up on the Periodic Table. The number is rounded, but carbon is 12, oxygen is 16, etc.