Question: are 100ml and 100g the same?
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.