Among the above mentioned function of gerund and infinitive, being object of verb,or direct object is the most problematic. In order to select the correct form of object, it in necessary to know which verb require gerunds and which require infinitive after them