What it is
SDL (Schema Definition Language) is GraphQL's human-readable way to describe types and fields, while introspection returns the same information as a JSON result a client can query at runtime.
When to use it
Use this to validate a query against a schema before shipping it, or to turn an introspection dump from a live API into a readable SDL file for documentation or codegen.
Gotchas & limits
Introspection results can omit information a server intentionally hides, such as deprecated fields or directives, so a converted SDL may not be a perfectly complete picture of the schema.