SQLite is a database management system it is a database that is not hosted on a server and is self-contained. The DB engine runs as part of the application and is also referred to as an embedded database. While MySQL runs on a server, the DB engine runs as part of the application. In order to interact with MySQL over a network, you'll need a client-server architecture.
Both of them SQLite and MYSQL have certain advantages. The database for SQLite consists of a single file on the disk, which makes it extremely portable and reliable. Although SQLite appears to be a simple DB implementation, it actually uses SQL. MySQL is also highly advanced because it is secure.