The capacitor can be used by itself as a filter. If connected in shunt with the circuit it is a low-pass filter. If connected in series with a circuit it is a high-pass filter.