Only units in the same category can be used interchangeably.
Relative to the category's base unit: kilogram = 1, gram = 0.001.