A keycode is the long string of letters and numbers printed on your game's case or manual. You type it in during installation, and its job is to prove that your particular disc is the one being registered.
In practice it ties an installation to a single copy of the game, which is how publishers of that era limited people from installing one disc on dozens of machines. Keep the code somewhere safe — if you ever need to reinstall and cannot find it, you may be stuck.