Estas formas son a menudo intercambiables en inglés :
I like walking to work
I like to walk to work
It's fun lying down in the sun
It's fun to lie down in the sun
A veces, sin embargo, se requiere cierta forma, por ejemplo después del verbo 'to want'
I don't want to eat too soon
I don't want eating too soon XX
A veces hay una forma preferida
Eating too much can make you put on weight
To eat too much can make you put on weight - not wrong, but not as natural
El gerundio te permite modificarlo con un adjetivo :
Can you recommend some good reading ?
Con el infinitivo se necesita agregar un sustantivo :
Can you recommend something good to read ?