Identify the verbal and its function in the sentence:
I would rather be sleeping!
A. It is a gerund functioning as a noun.
B. It is a gerund functioning as a verb.
C. It is an infinitive functioning as a noun.
D. It is an infinitive functioning as a verb.