A truck should be more stable - a consideration if buying something to ride on.
It is possible to push someone sitting in a wheelbarrow, but a bit risky, IMO.
Also, you need to lift a wheelbarrow. A truck does not require any lifting, so can move heavier loads.