A notable exception to this rule is the case if it's vs its. It's is actually a contraction of it+is (as in "it's cold outside"). Its is possessive (as in "the dog wagged its tail"). Apostrophes are also used for other contractions, like do+not=don't or will+not=won't.