The Past Continuous expresses an action begun and continuing in past time.
1. He came into my room while I was writing.
2. I saw her as I was passing yesterday.
3. They were waiting for their bus.
4. My parents were coming by bus.
5. His brother was walking along the bank of the river when we saw him.