Put a bag of apples on one side of a balance and gram weights on the other. When the two sides are level, the weights tell you the apples' mass. A balance compares how much matter is on each side, and that is what mass measures. A paper clip has a mass of about 1 gram; a bag of sugar is about 1 kilogram, the same as 1,000 paper clips.
Grams are for light things: a coin, a pencil, an apple (about 150 g). Kilograms are for heavy things: a dog, a bike, you. To change kilograms to grams, multiply by 1,000, so 3 kg is 3,000 g. To change grams to kilograms, divide by 1,000, so 750 g is 0.75 kg, a little less than 1 kg.
Size is not the same as mass. A big beach ball full of air has less mass than a small rock. How much space something takes up (its volume, in liters or mL) and how heavy it is (its mass, in g or kg) are different measures. A jug's label in liters tells you how much it holds, not how heavy it is. Only a scale or a balance measures mass.
Think of it like this. A balance works like a seesaw. Put an object on one end and gram weights on the other; when the seesaw is level, both sides have the same mass. It would balance the same way on the Moon, because both sides are pulled down equally. A bathroom scale would read less there, since it measures the pull, not the matter.
Core idea. Mass measurement tells how heavy an object is in grams and kilograms, where 1 kg =1000 g.