Why do we use inferential statistics?

Why do we use inferential statistics?

Inferential statistics are used to help us to generalise from the sample to the whole population.
Inferential statistics are used to help us to compare the sample to the whole population.
All of the above apply to the use of inferential statistics.