1. Form and meaning
Both forms express the purpose or goal of an action. Use damit when the purpose clause has its own subject or when the subjects differ. Use um … zu when the understood subject is the same as in the main clause. The finite verb in a damit-clause goes to the end.
When you study this pattern, identify its communicative purpose first. Then check the verb form, case and word order. German clauses are easier to control when you learn the connector together with the sentence pattern it requires.
Example 1: Ich erkläre es langsam, damit alle mich verstehen.
Example 2: Ich lerne, um die Prüfung zu bestehen.
2. How to use it accurately
Build your own sentence by replacing one part of the model while keeping the grammar pattern unchanged. Pay attention to the finite verb, commas, noun capitalisation and the case required by any preposition. Read the sentence aloud and compare the meaning with the English explanation.
Study strategy: Make one affirmative example, one question or contrast, and one sentence connected to your own life.