An organic compound reacted with bromine water to give a colourless solution. The compound is…