Constraints in SQL are rules enforced on table columns to ensure data integrity and prevent invalid data entry. Common constraints include PRIMARY KEY, FOREIGN KEY, UNIQUE, NOT NULL, and CHECK. They are not used for writing programs or creating data types.