Use dumbbells instead of barbells when the workout needs independent arm control, a freer movement path, easier home setup, or smaller strength work without a rack. Dumbbells let each side move separately, which can make presses, rows, lunges, step-ups, curls, raises, and accessory work easier to adapt.
Barbells still make sense when the priority is very heavy loading, stable bilateral strength work, or standardized lifts such as squats, deadlifts, bench presses, and overhead presses. The better choice depends on the training goal, available equipment, and how much control the user needs from each side of the body.