The subjunctive mood is used in Spanish after certain expressions. These include:
The preterite and the imperfect tenses are two forms of the spanish past tense, most verbs can be put into either tense but both convey different meanings about the action that was done in the past!