Solid objects keep their shape, so when you put them in a container, they don’t change shape to fill the whole space like liquids or gases do. Because they have definite shape and volume, there will be gaps or spaces between them unless they are perfectly shaped to fit together. For example, marbles in a jar will have spaces in between.