Contract A legal document or understanding that specifies a set of actions that parties to the contract must undertake.