A core component of Gatsby is GraphQL. It is used for discovery of pages to statically build and in general to bring arbitrary data into…