What is a cookie?

Many of us have heard about cookies, local storage, and session storage but do you know what they are exactly? Cookies are just small text files that are placed on