Solution 1:

It's the difference between saying:

Having something to do has a lot of benefits for young people.

and

The act of doing something has a lot of benefits for young people.

The first corresponds to work, the second to working.