The corn is used to clean lightly dirty brass such as once fired brass.
The walnut is used to clean dirtier brass.
My personal favorite is to use a 1/2 corn and 1/2 walnut mix with Flitz tumbling media additive.
This makes brass better than new.
flitz tumbling media additive