You can store basically any common data structure in Redis and operate on individual elements as if they were local variables in your program.