What is cookie?

Hi, i have a discussion with my team about “what is cookie”? Just focus about general definition for cookie and we have 2 opinion:

  1. Cookie is small files that stored in browsers. “HTTP Cookie”, “Same-site Cookie” is just a data type of cookie.
  2. Cookie is a piece of small data.

How about your opinion?

I believe an HTTP cookie is a type of cookie. This MDN doc on HTTP cookies may give you more clarity

I can’t tell exactly if cookies are all about HTTP or maybe something else, like a small data.