So can be used as an adverb, conjunction, pronoun, interjection, or adjective. As an adverb, it means "in that manner"; as a conjunction, it means "therefore"; as a pronoun, it means "that person or thing"; as an interjection, it is used to express surprise or disbelief; and as an adjective, it signifies excellent or very good.