Sham interview question

what is Nmap used for?