Past simple vs continuous
One thing is going on and then something else happens:
*you are having dinner from 17:00 - 18:00 and at 17:25 you get a phonecall
I was having dinner when I got a phonecall.
Sometimes 2 long actions happen.
She was dancing while she was cooking
Both will be past continuous
While is an indicator