在...的时候, 当...时
at the same time as something else is happening; while
而, 然而
in contrast or comparison to the fact that; whereas