Whenever you launch any program or application it starts working with the help of the settings stored in the registry entries.
In other terms it is a warehouse of settings and information related to various hardware components, OS configurations and users preferences.
Windows Registry is a database of multiple Microsoft Windows OS configuration settings. Frequently Asked Questions About Windows Registry Cleaners: What is the Purpose of Windows Registry?