The difference in concentration of a substance across space.