Cookies are invented to allow the webmasters to store the user information on the user's system, basically it is the concept to store the user name and password on the user's machine so that there is no need to logged in (filling the User name and Password), every time