a gerund phrase will being with a gerund an ing word,and will include other modifiers or object and away function as noun so they will be subjects.
1) eating ice cream in windy day can be fun.
2) playing with friends can be more fun.
3) writing in silent place can be good for your work.
4) joking with friend can be mean some time.
5) waking with my dog was fun.