If you use the correct type and consistency of paving sand, it will keep away weeds from growing. They are also used in the gaps of the pavers, which usually seal the space between them, thereby stopping the weeds from growing.