The three tenses are used to describe actions which happen in the past. The passé composé describes a one-off action in the past which is now completed. Eg. Yesterday, I went
One use of the subjunctive is when expressing desires: Quiero que me digas la verdad. Ojalá que tuviera mas dinero! Another use is for formal commands in the imperative: