In contract law, the role of injunctions is to prevent or compel a specific action, in order to uphold the terms of the contract. They are a discretionary remedy typically used when damages are inadequate or inappropriate to resolve the breach.