The following equations represent reactions that involve only halogen atoms. Iodine pentafluoride, $\mathrm{IF}_5$, is used to add fluorine atoms to other compounds, bromine pentafluoride, $\mathrm{BrF}_5$, is an oxidizing agent in liquid rocket propellants, and chlorine trifluoride, $\mathrm{ClF}_3$, is used to reprocess nuclear reactor fuels.
$$
\begin{aligned}
& \mathrm{IF}(g)+2 \mathrm{~F}_2(g) \rightarrow \mathrm{IF}_5 \\
& \mathrm{BrF}(g)+2 \mathrm{~F}_2(g) \rightarrow \mathrm{BrF}_5(g) \\
& \mathrm{Cl}_2(g)+3 \mathrm{~F}_2(g) \rightarrow 2 \mathrm{ClF}_3(g)
\end{aligned}
$$
Determine the oxidation number for each atom in these equations, and decide whether each reaction is a redox reaction or not. If a reaction is a redox reaction, identify which substance is oxidized, which substance is reduced, the oxidizing agent, and the reducing agent.