What is the Singleton Design Pattern?

The Singleton Design Pattern ensures that a class has only one instance and provides a global point of access to it.

It is commonly used to manage shared resources, such as database connections, logging, or configuration settings.