Potassium Permanganate is used for purifying drinking water, because

A. it is a sterilising agent
B. it dissolves the impurities of water
C. it is a reducing agent
D. it is an oxidising agent