suffix
while; on the occasion of; at the same time as
Attaches to the continuative form (連用形) of verbs or to nouns, indicating that one does something while taking the opportunity to do another thing. Often used for combining a main purpose with a secondary activity.
散歩がてら、近くのコンビニに寄った。
I dropped by the nearby convenience store while taking a walk.
買い物がてら、友達の家に顔を出した。
While out shopping, I stopped by my friend's house.