What are Cookies?
Cookies are small pieces of data stored in the browser.
They are mainly used to:
• Store user information
• Maintain login sessions
• Track user activity
• Save preferences (language, theme)
Cookies are stored as key–value pairs and sent to the server with every HTTP request (for the same domain).