A class is just a blueprint based on which actual objects are created. So, consider the blue print of a Dream car:
Now, it has wheels, headlights, doors, engines, brakes, and everything. But the thing is that you can't use them. You need to create an object based on the class to use it. Here's an object Ferrari based on the class:
Now, it has instance variables
wheels, and methods like
brake, etc. These can be used by you. You can also create multiple objects, like Lamborghini, Honda, etc. based off your original blueprint Dream. These objects share common properties like
wheels, etc. as well as methods like
brake, etc, but have different values for them. So, Ferrari might have 4 wheels but Lamborghini have 8 and so on.
Hope it helps! Do reply for clarification if needed!