Subject pronouns are used as subjects of the sentence.
e.g. I, we, you, he,she, it, they
object pronouns are used as object of the verb or as object of prepositions
me, us, you, her, him, it, them
you and it do not change whether used as subject or object