Gram is the unit of mass, and milliliter is the unit of volume.
Mass (usually in grams and kilograms) = density * volume (usually in milliliters, liters and cubic meters).
Extended data:
Unit conversion
1L = 1000ml 1000ml = 1000 m3 = 1000 m3。
1 ml = 1 ml.
1 ml liquid water = 1 cm3 liquid water
1 ml liquid water weighs 1 g at 4 degrees Celsius.
1 ml = 1 cm3
Baidu encyclopedia -mL