Difference between adjective and gerund - he loves playing
He loves playing
is strictly speaking ambiguous, though verb preferred ("He loves to play").
Noun interpretation can be forced by adjectival premodification, as in "occasional playing".
In the verbal interpretation, "playing" is complement of "loves"; in the noun interpretation it is direct object.