What does __typename do in GraphQL?

Thanks to @pawan - __typename returns the GraphQL type name of the node - which might not be the same as dgraph.type.