Understanding the Emission from Semiconductor Nanoparticles