What is mass measured in?

Mass is measured in grams {as its basic unit.} Mass is also measured in kilograms (kg), and milligrams (mg.)