The particles in a liquid are not stuck in fixed positions, which is why liquids flow to take the shape of a container into which they are placed. However, the particles in a liquid are also close together, so they have a set volume and cannot expand beyond that.