Nouns, pronouns, and groups of words that form noun phrases can all be subjects and objects in sentences. Shopping, for example, is a gerund - a verb form that works like a noun. Shopping for clothing or other items is just an exanded noun phrase.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
MIA6It was surprising that Mary was nominated. Here the object is a clause.I would not call the underlined portion the object; rather, "it" anticipates the postponed (extraposed) clausal subject.