In an agreement or legal case, any party that is not directly involved is called a third party.