When you uninstall programs, invalid entries can be left behind and cause various conflicts between 3-rd party applications and the operating system. Just like any other database, the registry becomes a real mess without proper maintenance.
When running, programs may access the registry thousands of times per second.
Registry entries are created for each application and driver installed on your computer. Windows registry is a database that stores crucial settings and options of the Microsoft Windows operating system.