Answer is: D. kilograms and cubic millimeters .
Kilogram (symbol: kg) is the base unit of mass (anything that has mass in this question) in the International System of Units and cubic millimeter (symbol: mm³) is volume measurement unit (takes up space).
Second (symbol: s) is the base unit of time in the International System of Units and kilometer (symbol: km) is a unit of length in the metric system.
Gram (symbol: g) is a metric system unit of mass, but millimeter (abbreviated: mm) is an unit of distance in the metric system.
Yard (abbreviation: yd) is an unit of length and liter (symbol: l) is metric unit of capacity.