The objects and classes are the main part of the oops programming. The objects can represent a place, a person and much more. The program objects should be like the real world objects. Objects contain data and code to manipulate the data as given by user.
A class is act as a container which contains data and methods. But class does not occupy any space in the memory. But objects contain the space in memory when they are created. And we can make any number of objects to the corresponding class.