Constraints are rules that are applied to the data in a database to ensure that it follows certain guidelines.