Oxidizing agent

Oxidizing agent can have two meanings. It can be a chemical that releases oxygen atoms. For example, potassium chlorate has a chemical formula of KClO3. When it oxidizes a reducing agent, such as powdered aluminium metal, it loses its oxygen to the aluminium and becomes potassium chloride, KCl. 
Another definition is a chemical that accepts electrons from a reducing agent. For example, potassium permanganate has an oxidation state of +7. In an acid solution, it gains 5 electrons (e-). It becomes a manganese compound with an oxidation state of +2. Most oxidizing agents of the second definition have oxygen, but not all. For example, fluorine (F2) does not have any oxygen in it. It is also the most powerful oxidizing agent. When it acts as an oxidizing agent, it gains an electron to transfer from an oxidation state of 0 to an oxidation state of -1.