What are variables inside a class used for?

To store data that is related to the given classTo store numbersTo be used outside of the class definition

To store data that is related to the given class.