Introduction
We create objects to represent things or ideas in our program. Objects hold data and actions together, making code easier to understand and use.
When you want to represent a real-world thing like a car or a person in your program.
When you need to group related data and actions together.
When you want to create many similar items with different details.
When you want to organize your code better by using classes and objects.