A lot of it comes down to:
-high frequencies go right through a capacitor, almost as if it was a short.
-low frequencies see a capacitor as a high resistance. The larger the capacitor, the lower the frequencies it “lets through”.
In a non inverting op amp, the gain is set by:
G = 1 + R2/R1...