The gram is a unit of mass in the metric system.