This is a very common practice.
Sometimes several applications use a database.
Sometimes the database is located on its own server, so the server can be optimized for the database, and the database can use all the server resources instead of sharing with a web server.
, , . , . .