Question: are 100g the same as 100ml?
Answer: 100g is approximately equal to 100 ml of water at a specific temperature and pressure. This isn't true for all substances at all temperatures and pressures. The density of water is 1g/mL so 100g is 100mL.