On to, as two words, are used when on is a part of a phrasal verb. Phrasal verbs, are a group of two or three words that form a semantic unit which functions as a verb.
For instance,
Please log on to your computers.
You must hold on to your dream, no matter how challenging it gets.