Your laptop is connecting many of the Wi-Fi networks that is encrypted with password ,but sometimes you don't know the password and want to connect another device like your smartphone to the same networks and your thinking that my laptop is connected previously to this network so this password must be saved in my laptop .