Answer:
The organic compounds (heptane/cyclohexane) will get dissolve in Cl₂ water forming a yellow colored solution.
When NaI is added into it, the following reaction between NaI and Cl2 takes place;
Cl₂ + NaI ⇒ I₂ + NaCl
In above reaction, oxidation state of Cl is getting reduced from 0 in Cl2 to -1 in NaCl.
Therefore, Cl2 is getting reduced and acting as an oxidizing agent in the reaction. While I⁻ is getting oxidised annd acting as a reducing agent