I thought that if you forget the password it is not possible to get to the wallet
If you have no idea what the password is, it is indeed not possible to recover the wallet. But usually people remember most of the password or have a certain system behind it which helps to remember it. If you know enough about the password a script can be written to check for the remaining uncertainties. The more you know the higher the propability of a recovery.
Thank you for your reply. Now I understand.