Queries are used to fetch data from the server, while mutations are used to modify data on the server. Both queries and mutations are defined in your GraphQL schema.