Here is a quick look at the different tenses and moods when used in a sentence.
Inidicative, Subjunctive, Conditional, Imperative
Bailar – to dance
Tú bailas. You dance. present (tense) indicative (mood)
Tú bailaste. You danced. preterite indicative
Tú bailabas. You danced / used to dance / were dancing.. imperfect indicative
Tú bailarás. You will dance. future indicative
Tú bailarías. You would dance. conditional
Tú has bailado. You have danced. present perfect indicative
Tú habías bailado. You had danced. pluperfect indicative / past perfect indicative
Tú habrás bailado. You will have danced. future perfect indicative
Tú habrías bailado. You would have danced. conditional perfect
Tú estás bailando. You are dancing. present progressive indicative
Tú estuviste bailando. You were dancing. preterite perfect indicative
Tú estabas bailando. You were dancing. imperfect progressive indicative
Tú estarás bailando. You will be dancing. future perfect indicative
Tú estarías bailando. You would be dancing. conditional progressive
Tú has estado bailando. You have been dancing. present perfect progressive indicative
Tú habías estado bailando. You had been dancing. pluperfect / past perfect progressive indicative
Tú habrás estado bailando. You will have been dancing. future perfect progressive indicative
Tú habrías estado bailando. You would have been dancing. conditional perfect progressive
Es bueno que tú bailes. It is good that you dance. present subjunctive
Es bueno que tú hayas bailado. It is good that you have danced. present perfect subjunctive
Fue bueno que tú bailaras. It was good that you danced. imperfect subjunctive
Fue bueno que tú hubieras bailado. It was good that you had danced. pluperfect/past perfect subjunctive
Es bueno que tú hayas estado bailando. It is good that you have been dancing. present perfect progressive subjunctive
Fue bueno que tú hubieras estado bailando. It was good that you had been dancing. pluperfect/past perfect progressive subjunctive
Baila / No bailes. Dance / Don’t dance. imperative (command)