The most usual thing meant by filter in electrical science is a wave filter. One common kind lets through some frequencies and stops all others. This is a band pass filter. For instance, in a radio it can select the radio station the listener wants to hear. The frequency of that station is passed, but all others are rejected.