DB is a file extension commonly used for database files. Like other database formats, DB files contain data organized in tables and fields. The fields can have different types of data and, depending on the database format, these files also store relations and queries, for example.
The file extension DB is used by many database programs and does not refer to a uniform format. Therefore, a DB file from an unknown source may need to be tested on different programs.