Gerund
In "Eating this cake is easy", "eating this cake", although traditionally known as a phrase, is referred to as a non-finite clause in modern linguistics.  "Eating" is the verb in the clause, while "this cake" is the object of the verb.  "Eating this cake" acts as a noun phrase within the sentence as a whole, though; the subject of the sentence is the non-finite clause, specifically eating.