Nmap (Network Mapper) is a free and open-source network exploration and security auditing tool. It is used to discover hosts and services on a computer network, thus creating a "map" of the network. Nmap uses a variety of scanning techniques to provide a comprehensive view of the network, including port scanning, service enumeration, and OS detection. It also includes advanced features such as version detection and scripting for customization.