Retract is used when something is taken back or withdrawn. For example, you might retract your statement if you realize it was incorrect.
Retreat is used when someone or something moves back or withdraws. For example, a soldier might retreat from a battle if they are outnumbered.
Here is a table summarizing the differences between retract and retreat:
| Feature | Retract | Retreat |
| --- | --- | --- |
| Meaning | To take back or withdraw something | To move back or withdraw |
| Example | "I retract my statement." | "The soldier retreated from the battle." |
| Context | Used when something is taken back or withdrawn | Used when someone or something moves back or withdraws |