The metallicity gradient refers to the variation in the abundance of heavy elements, or metals, within a galaxy or other astronomical object. This gradient is observed as a decrease in the concentration of metals from the center of the galaxy towards the outer regions.