PC game discs generally won't harm your computer.
As long as the disc doesn't contain viruses or malicious software, running the data on it is safe. And it's highly unlikely a disc would physically damage your PC in any way. So you can install and play from your game discs with confidence, just as you would download a game from a trusted store.