This grammar shows why you do something. It means 'in order to' or 'for the purpose of'.
、で。
In order to buy a new house, the married couple is working very hard.
に、。
In order to pass the Japanese Language Proficiency Test, he studied for three hours every day.
、。
In order to not have trouble in the future, you should save money while you're young.
、に。
For the safety of our customers, please cooperate with the baggage inspection.
、。
This meeting was held in order to decide next fiscal year's budget.