An oxidizing agent is one that oxidizing the other chemical specie while the oxidizing agent itself if reduced. During oxidation, the oxidation number of the chemical specie being oxidized increases.
In the reaction:
2Br- → Br₂
This is because the oxidation number of bromine is -1 before the reaction and 0 after the reaction.