Real world example of GraphQLInterfaceType and GraphQLUnionType
Both are meant to help you design a schema with a heterogeneous set of types,
and you could achieve the same functionality using both,
but GraphQLInterfaceType is more suitable when the types are basically the same but some of the fields are different,
and GraphQLUnionType when the types are totally different and have totally different fields.
Ultimately whether to use one or the other depending on your schema design.
For a real world example, let's say you have a list of blogs,