I was studying English when the electricity went out.
when the teacher came, the students were fighting.
when my brother came, I was reading a book and my sister was watching TV.
meryem was listening to music while he was studying.
elif was helping me while I was cooking.
while the teacher was teaching the subject, the students were taking notes.