Use où in phrases like I know where they are or the day when they arrived.
In English, we say the person who helps me and the person who (or whom) I help, but in French there are two words for who.
It's the same with ce qui and ce que!