.db - Database files
Is used by several software packages like Safari for its cache files, Subversion and Movable Type.
Apple Mail and Safari's cache databse has in sqlite3 format on macOS and the .db extension is getting more common.
See the general File Formats page.
You can install Berklery DB tools with Homebrew