In contractions, the apostrophe takes the place of missing letters.
It’s stands for It is and can’t for cannot.
The apostrophe is also used to mark the omission of the first two digits of a year or years.
Exercises:
The apostrophe 1
The apostrophe 2