GraphQL fragments are reusable units of a GraphQL query that can be defined once and then included in multiple queries. In the workshop, fragments are used to co-locate a component’s data requirements with the component itself, improving code organization and maintainability.