As we can see, Simple, Continuous and Perfect forms are all based on a corresponding infinitive. They are called 'aspects', which retain their meaning whatever form they take in the sentence.
SIMPLE: an action as such.
CONTINUOUS: a temporary action in its duration.
PERFECT: a finished action.
PERFECT CONTINUOUS: a finished action with an emphasis on its duration.
Let's look at this from a different perspective: