In GraphQL, an interface is used to list down the common fields of a GraphQL object. Other objects can use this interface to inherit properties.