it operates the same as any other pronoun in terms of reference. it can refer back to any inanimate object, substance, or even abstract idea -- whenever he, him, she, her , etc. would be inappropriate.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.