I don't know what they are used for....
They are used to evolve Porygon to Porygon 2 and Porygon-Z respectively. Trade Porygon with Up-Grade and you get Porygon 2; trade P2 with Dubious Disc then it evolves into Porygon Z