A data module is a database specific kind of pascal unit. Much like a TForm you can drop components on it, as long as they are non-visible.
A new data module can be created using File|New...
The datamodule above contains three database related items:
SQLScript1 sets its transaction to SQLTransaction1 and its DataBase to SQLConnector1