What is the primary purpose of a database directory?
A) To store and manage files related to the operating system.
B) To index and manage metadata about databases and their components.
C) To back up and restore the database files.
D) To handle user authentication and access control.