'Singing songs' functions as the direct object.
Previous Question
Identify the gerund phrase in "Walking the dog is relaxing."
Next Question
In "After finishing his homework, he played," 'finishing his homework' is: