I see. I suppose there's no change, like in these sentences:
- Seeing is believing.
- Reading that book was very interesting.
- Drinking is essential
- Drinking too much pop can make you fat.
- Taking the bus was rather a good idea.
- Swimming is very good exercise.
- Taking too many aspirins is dangerous.
- I really like sailing .
- This article really needs rewriting.
- He drove two hundred miles without ever stopping.
- I look forward to seeing you again next week.
- I'm thinking of painting my house.
- I started by carefully turning off the electricity
- Do you mind shutting the window, please ?
- Will you consider taking the job?
- I've really enjoyed meeting you.
This usually happens with verbs like "need, want, have, love, hate"
So the first verb you conjugate with the subject and the second comes in infinitive
I like to eat
I have to go
She wants to stay
We hate to wait
However some of these verbs accept that you use the following verb in -ing form, which will transform the verb into a noun.
These verbs are: like, love, hate and enjoy (verbs of emotion)
Therefore you can say both:
I like to swim - I like swimming