Определите функцию герундия в предложении.
a. Listening to music is my favourite occupation.
b. My favourite occupation is listening to music.
c. I began listening to music when I was six.
d. I enjoy listening to music.
e. She has a habit of listening to music at night.
f. In writing the dictation the pupil made some mistakes.