They are two different types of measurements.
Ml is a measurement of volume. Mg is a measurement of mass.
Mass is the amount of matter an object contains, while volume is how much space it takes up.
If you can state the specific measurements, it can be converted. But without that.... The two cannot be converted to each other.