5997 in words is written as :

Five Thousand Nine Hundred and Ninety Seven