FILTER : IMPURITY :: EXPURGATE :
A. penance
B. testify
C. obscenity
D. infraction
The word filter is used as a verb. When you use a filter, an impurity is removed, so you filter to remove an impurity. The word expurgate means to censor, to remove obscenities — you expurgate to remove an obscenity.