Free weights and weight machines both ask the body to produce force against an external load. Their central difference is not whether one creates real strength. It is who controls the movement path and how much positioning, support, and failure management the equipment supplies.
A dumbbell can travel through open space and adapt to the user's chosen path. A machine routes force through its pivots, rails, cables, and pads. Those constraints change setup, stabilization, resistance across the range, and the situations in which each tool is practical. It also explains why the two categories can complement one another inside the same plan.