adverb
An adverb modifies or qualifies and adjective, verb or another adverb. An adverb express a relation of place, time, circumstance, manner, cause, degree, etc...
The adverb would be the event that the cake is at. This is because it would describe the circumstance of the cake.