Also known as an agreement, a contract describes expectations for an interaction. It ensures all parties agree on the terms of their relationship.