What is the use of isNaN function?

What is the use of isNaN function?

This function returns true if the value is equal to NaN otherwise returns false.