is used:
As a noun in the function of the subject
Sunbathing
is very dangerous. Swimming is useful for our health. After the verbs: admit, appreciate, avoid, consider, continue, deny, fancy, imagine, mind, miss, practice, prevent, save, suggest
She avoided meeting me. I practised driving. Jane suggested going to the club.
After the verbs: love, like, enjoy, prefer, dislike, hate
She likes playing football. I prefer being alone. I hate doing homework but I must
After expressions such as: to be busy, it’s no use, it’s no good, it’s (not) worth, what’s the use of, can’t help, there is no point (in), can’t stand, have difficulty in, have trouble