What are classes used for?

To hold variablesTo combine variables and print statementsTo reduce repeated code by grouping it into a classThey help prevent errors

To reduce repeated code by grouping it into a class.