A database is an organized collection of data managed by a DBMS. It stores, organizes, and retrieves information using various models, including…