Hi!
The -ing form (gerund) means the action is about to or is happening (most of the time). The infinitive with 'to' usually comes after the gerund. For instance: I am going to eat. Here 'going' shows that he is about to do something while 'to eat' is the infinitive form which is about to happen.