NoBroker interview question

How do you use Data Validation in Excel?