Shading adds depth and dimension to a portrait by simulating light and shadow. It helps define the contours of the face, making features like the nose and cheeks appear more three-dimensional.