The young man is trying to balance on the train tracks.
A young man is trying to balance on the train tracks while riding his bicycle.
One cannot infer that the man is riding a bicycle.
You do not have to be riding a bicycle while trying to balance.
The young man may not be balancing on the train tracks while also riding his bicycle.