When working with Gatsby, you access your data through a query language called GraphQL. It allows you to express your data needs. With so-called queries, you can represent the data you need. As an example:
Furthermore, you can add parameters like filtering, sorting, and much more.
But what if you want to query for the same field with different arguments? For that, you need aliases - they let you rename the result of a field to anything you want.
In the above example, the two hero fields would have conflicted, but since we can alias them to different names, we can get both results in one request.
Hope you enjoyed this brief blog post. If you want to know more about how to use GraphQl, I recommend checking out their docs.