Light has wave-particle duality which can accurately transmit information