Do you like to cook?
Do you like cooking?
Do you love cooking?
Do you love to cook?
In which one we should use gerund?
English Language Learners Stack Exchange is a question and answer site for speakers of other languages learning English. It only takes a minute to sign up.Sign up to join this community
These are all correct, and you could use "Do you like to cook?" and "Do you like cooking?" to mean pretty much the same thing.
Or there could be some subtle distinction:
1) "You like to cook" could mean that you enjoy the physical act of cooking, actually being in the kitchen preparing food.
2) "You like cooking" could mean that you enjoy the broader subject of cooking, perhaps watching cooking shows, or reading about cooking, even if you don't actually get into the kitchen and prepare food yourself very much.