Everyone should use a password manager since no one can remember all the passwords.
But how do they actually work? This paper gives the detailed description of how password managers save and protect passwords.