When there is an apostrophe (it's) it is a contraction similar to I'm, He's she's etc. To easily remember which to use, think of the contractions mentioned. The other one (its) is a possessive.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.