Vacuuming removes the small particulates from the substrate. Mostly, this is made up of fish waste, dead plant material and excess food, especially if you feed a flake diet. By removing these particulates before they break down, you will decrease the ammonia concentration in your aquarium.