Installing Microsoft Flight Simulator 2004: A Century of Flight is impossible without the product key that shipped with your copy, so knowing where to look for it saves a lot of head-scratching.
Check the back of the CD case first, then the printed manual tucked inside the box. The key is a long string of letters and numbers broken up by dashes, usually sixteen characters in total, and it looks like random noise at a glance. Every retail copy carries its own unique key, which is why a friend's number will not work on your disc.
Run the installer and follow the prompts on screen. At some point a box will appear asking for the product key. Type it in exactly as printed, double-checking similar-looking characters such as 0 and O, and the installation will carry on from there.
Losing the key is a common problem, and the publisher's customer support team is the right place to turn. Be ready to prove you own the software, typically with a photograph of the UPC barcode on the box or a copy of the original receipt. A replacement is not guaranteed, but support can explain your options.
Serial numbers are not something Q&A sites hand out. Using a key generator, a crack, or a No-CD patch to get around the requirement is piracy, and downloading a copy of the game you did not buy is illegal as well. The only legitimate free download is the trial version offered by the publisher, and even that needs a purchased key once you decide to keep playing.