A serial number is a unique code assigned to a software product to identify it and prevent unauthorized use. An activation code, on the other hand, is a code required to activate the software and unlock its full features. In the case of Corel Paint Shop Pro X3, the serial number and activation code were used to verify the authenticity of the software and prevent piracy.