问题

On a rainy day I was riding my bike to pick up my son___ a terrible accident happened ahead.
A:who
B:which
C:while
D:when
B:which
C:while
D:when
正确答案是: