Redis stores data in a key-value format.
For example, if you wanted to store a user’s name, you could use the key “user_name” and assign it the value “John Doe”. To retrieve the value, you would simply use the key “user_name” and Redis would return the value “John Doe”.