The Algebraic Structure Of Brst Operators And Their Applications