A young boy looks on as a man performs the guitar on the street while sitting on a bench.
The young boy is watching a man perform.
The boy is looks at the man perform therefore he is watching him perform
"watching a man perform" is a rephrasing of "looks on as a man performs the guitar"
The boy is young.