How can air and water make pressure?

Water and air have molecules that are spread far apart from each other. When one is placed into a small space, the molecules are forced closer together. The molecules push back against the sides of the container, creating pressure. The smaller the space, the greater the pressure.