What is cookies, sessionStorage, localStorage.
// cookies in created by a server and stored on client-side.
// it is used to remember information for later, so It can give better recommendation for the user.
// SessionStorage and localStorage are similar except
// SessionStorage data is cleared when the page session ends.
// localStorage data stay until the user manually clears the browser or until your web app clears the data.