A data adapter is used by ADO.NET as a bridge between the dataset and the data source, which is the real database. The Fill() functions of Data Adapter are used to obtain data from the database and populate the dataset.