What is the difference between the following two sentences?
To study English is hard.
Studying English is hard.
What is the difference between the following two sentences?
To study English is hard.
Studying English is hard.
They mean much the same thing, although there can be a nuanced difference. Consider these sentences:
To climb Mount Everest requires training and dedication.
Climbing Mount Everest requires training and dedication.
Since "climbing" brings in the idea of the climb-in-progress, it might be thought to be less suitable than the infinitive form to the notion of prerequisites.