Shading mode for Paint Bucket Tool

Hi! Can someone help me figure out how to use the Shading mode for the Paint Bucket Tool and what are typical scenarios of utilization?
I often use shading for the Pencil tool, but I do not understand how to use it correctly with the Paint Bucket. Thanks!