While heading somewhere, doing something else.
Examples: 집에 가는 길에 마트에 들렀어요 (I stopped by the mart on the way home).