An action was happening at a particular moment in the past.Example: "I was reading a book at 8 PM last night."
Two or more actions were happening at the same time in the past.
Example: "She was cooking while I was studying."
Example: "She was cooking while I was studying."
To show that an action was interrupted.
Example: "I was walking to the store when it started raining."