How does all these magic happen?

Dear wemod ,
It is hard for me to figure out how cheats work in computers , it is hard to imagine someone outside the game company knows where how to cheat in games ? Do you work with them ? Can I make cheats inside my own house, my own computer ?