L'imparfait is for ongoing action, the middle of something which had to have a beginning but as far as we know it may not have ended yet. The English translation would be: he was eating, he used eat, he ate.

Le passé composé is for an action that ended. The English would be he went home, he did go home.