There is a major difference between a database and a table. The differences are as follows:
Tables are a way to represent the division of data in a database. Whereas, database is a collection of tables and data
Tables group the data in relation with each other and create a dataset; this dataset will be used in the database. The data which are stored in the table in any form is a part of the database, but opposite is not true.