Null is used when something has no value. It is not 0 as 0 has a value. In boolean tests 0 and null both have a false value and as a result boolean texts are favoured by programmers as they will show if a variable has a value or not.