Question

So in my homework problem that was the compound- NaOCl, which I got was sodium hypochlorite but why did they have the O before the Cl in this case?