in order to, so that~
ように expresses purpose or aim, meaning 'in order to' or 'so that', and attaches to the plain non-past form of verbs.
ように is used to state a goal or target that you hope to achieve, especially when the action you take is indirect or when the result depends on something else. It often translates as 'so that' or 'in order to'. Unlike ために, which is used for direct purposes with the same subject, ように can be used when the subject of the purpose clause is different from the main clause, or when the verb in the purpose is a state or potential form. For example, you might say 子供が寝られるように、静かにしている (I am quiet so that the child can sleep). Here, the speaker is quiet, but the child is the one who sleeps. This is a key nuance: ように often implies that you can't directly control the outcome, only set the conditions.