Form and rules
How it works
Use to + base verb to say why someone does something: I called to ask a question.
Use for + noun to say the purpose of an object or action: This bag is for books.
Use for + -ing to describe the function of something: This tool is for opening cans.
Do not use for + base verb: say I went to buy bread, not for buy bread.
In order to is a more formal alternative to to for purpose.