GraphQL is a query language and runtime for APIs. Instead of making multiple requests to different endpoints, you make one request asking for exactly the data you need. It's like ordering at a restaurant: instead of getting a fixed meal, you specify exactly what you want.
query {
user(id: 123) {
name
email
posts {
title
}
}
}