Final answer:
A Session cookie is stored in temporary memory and is lost when the web browser is closed. This cookie is used for maintaining user interactions within a single browsing session, unlike Persistent or First-party/Third-party cookies which last across multiple sessions.
Step-by-step explanation:
The type of cookie that is stored in temporary memory and is lost when the web browser is closed is known as a Session cookie. When you exit the browser, all session cookies are deleted because they are designed to be temporary. They are used, for example, to maintain items in a shopping cart while you browse an online store, or to keep you logged in to a website during a single browser session.
A Persistent cookie, in contrast, remains on your computer until it expires or is manually deleted. It can store user preferences, login information, and other data that needs to be persisted across different browsing sessions. First-party cookies are set by the website you are visiting directly, while Third-party cookies are set by a domain other than the one you are visiting, usually for tracking and advertising purposes.