Redis isn't a database, it's an in-memory key/value store.
A key/value store most certainly is a database, just not a relational or SQL one. Venerable old BerkleyDB comes to mind.
And Redis isn't in-memory only. It has the option of persistence (writing to disk) if desired.