Cookies are created when your browser loads the website. The website sends information to the browser which then creates a text file. Cookies are stored on your device for various periods of time, from as short time as the duration of your browsing session to several months.