What is the function of query in Microsoft access?

A query returns the records in the database that satisfy the parameters in the query.