The network security key is another word for Wi-Fi password. It’s a secret phrase that allows you to connect to nearby Wi-Fi access points. The reason why a network security key is required is pretty obvious: to prevent unauthorized access. An open Wi-Fi network is inviting trouble; someone you may not want could access the internet connection and gain access to personal space, such as shared folders, or even access the Wi-Fi router’s admin panel.
The text above is a summary, you can read the full article here.