Port scanning is a stage of enumeration in which the attacker tries to identify open ports on a target machine in order to define the attack surface.
Note that apart from using other automated tools, sometimes it can be helpful to connect to those ports with nc -z to diagnose problematic scan results.