It's is defined as a contraction of it is or it has.(contraction)
An example of it's is what you write when a friend asks you how a new job is and you want to give an informal response - "It's great." as opposed to a more formal response "It is great."
See it's in Webster's New World College Dictionary
See it's in American Heritage Dictionary 4