@Bindi-Gai1999 , The Sims 2, any of its expansion packs and stuff packs and the Sims 2 Ultimate Collection are no longer available on Origin as of October 2018. EA has made the decision to no longer make the game available in a digital format for the Windows Operating System or OS for short. The only digital version available to my knowledge is for the Mac OS as the game is available to purchase through the Apple App Store. I'm afraid that there is no way for the Mac version to run on a Windows machine as the game was made to run only on the Mac OS.
In order to play the Sims 2 on a Windows computer, you will need a disk drive and the disks themselves. If your computer does not have a disk drive, external disk drives are available for purchase and are not expensive. Copies of the disks are available for purchase on Amazon or Ebay. Prices vary.
If you are trying to register the codes on disks you already own, Origin will not recognize them and there is no longer a way to register the disks via another website or through EA Help Support.
I hope this explains the situation.