If $Cl _{2}$ is passed through hot aqueous $NaOH$, it results in the formation of sodium chloride and sodium chlorate as
$\underset{\text{Hot}}{6 NaOH} +3 Cl _{2} \longrightarrow 5 NaCl + NaClO _{3}+3 H _{2} O$
In $NaCl$, let oxidation state of $Cl$ be $x$.
$+1+x=0$ or $ x=-1$
In $NaClO _{3}$, let oxidation state of $Cl$ be $Y .$
$+1+y+\left(r^{2}\right) 3=0 $
$y-5=0$
$\therefore y=+5$
Thus, the obtained compounds have $Cl$ in $-1$ and $+5$ oxidation states.