In Spanish the imperfect tense is used for:
e.g hacía calor =it was hot
era cansada = I was tired
e.g. cuando era más joven, jugaba al tenís cada semana = when I was younger, I used to play tennis every week
e.g. Me caí cuando cruzaba la carretera = I fell over whilst I was crossing the road