This is for SQLServer, databases and schemas are different in other DBMS like Oracle.
A database and a schema are two different concepts.
A database can contain multiple schemas, for example the default schema 'dbo'
You can address a table by specifiying database.schema.tablename.
Schemas are often used for security reasons, cause you can have one ...