on the way; as one goes
Describes something happening while moving or in the course of going somewhere; often used in literary or narrative contexts.
On the way, I enjoyed the beautiful scenery as I went.
in the future; someday; eventually
Commonly used in the pattern ゆくゆくは to talk about future plans or eventual outcomes; neutral in register.
I hope to have my own shop someday.
This experience will be useful eventually.
Kanji spelling is uncommon and can be confused with the verb 行く; learners should prefer the kana form.
Reduplication of the verb 行く (ゆく, 'to go'), with the sense of 'as one goes' extending metaphorically to 'in the course of time'.