Cheat Engine is a memory scanner that lets you search a running process for a value and change it. People use it on offline games to adjust health, currency or stats, but there are limits worth understanding.
Attach the tool to the game's process, note the value you want to change, run a scan, change the value in game, and scan again to narrow the results. Repeating that cycle usually leaves a handful of addresses, which can then be edited or frozen. Tutorials for the specific game are more useful than generic advice, because browser and mobile titles store data differently from native desktop ones.
Values held on a server cannot be edited from your machine. Online games also treat memory modification as cheating, and accounts can be suspended for it. Browser games frequently obfuscate or relocate values, so scans return nothing usable.
Back up saves, use offline copies only, and read the game's terms of service. If a request for a password is attached to a "cheat pack", ignore it; that is not how the tool works.