To remember passwords is quite a challenging and some times difficult task, so Mac has an embedded utility called Keychain Access. Keychain Access can store all almost all passwords that are used in Mac.
For example, when you login to your web browser and click on option to remember my password then that password stored in Keychain Access. In case if you forget password then you may recover that just by accessing through Keychain Access so in this way you will get access and recover all stored passwords on your Mac.
See how you can open and recover the stored passwords on Mac OS X Keychain Access.
Recover Forgotten Passwords from Keychain Access on Mac OS X
Click on Finder
Click Applications > Utilities and then double click on Keychain Access icon
Click on Lock symbol, it asks for password so enter your Mac system password and click OK.
Now, click on Passwords category from left pane then double click on your required application on right side to recover password. Screenshot below listing three items in passwords category, one Safari browser form and two Airport network passwords. Lets take Dlink as an example.
When you double click on application you will see this information as shown below. Mark the check box besides Show password to recover it
and finally this will show the stored password of specific application in Show password text field
Always click on Click to lock the login keychain to prevent from further changes after completing your task on Mac