LTM Limited Interview Question

What are constraints in SQL, where do we use them, explain with an example?