@Jeremy already explained it well, @michael1 ! Just one correction: Portuguese pretérito perfeito = English simple past, not past perfect. I would add that we also use the imperfect to describe recurrent actions/events - the so-called habitual past.
- She used to study every day. = Ela estudava todos os dias.