In Python, all classes are derived from the base class called object. This means that every object in Python is an instance of a class that ultimately inherits from object.

print(issubclass(int, object))
print(isinstance(list, object))
print(isinstance(dict, object))
class MyClass:
    pass
print(isinstance(MyClass, object))

The object() function is a constructor for creating new instances of this base class. It is typically used when you need to create a basic object that does not require any specialized attributes or methods.  You cannot add new properties or methods to this object.

Syntax:

object()

The object() function returns a new object instance.

obj = object()
print(obj)
print(type(obj))
print(dir(obj))

The dir() function returns all attributes associated with an object.