The Infintive of Purpose
When we want to say why something is done we can use the infinitive of the verb.
Why are you going to Brazil?
To visit the Amazon.
Why did you phone her?
To invite her to the party.
What are you learning Chinese for?
To be able to look for a job in China.