Why are validation rules used in a database?

To avoid typing errors

Both A and B

Ensure correct data is entered

Neither A nor B