In 1905 Albert Einstein had proposed a solution to the problem of observations made on the behaviour of light having characteristics of both wave and particle theory. From work of Plank on emission of light from hot bodies, Einstein suggested that light is composed of tiny particles called <span>photons, </span>and each photon has energy.
Light theory branches in to the physics of <span>quantum mechanics, </span>which was conceptualised in the twentieth century. Quantum mechanics deals with behaviour of nature on the atomic scale or smaller.
As a result of quantum mechanics, this gave the proof of the dual nature of light and therefore not a contradiction.