They act like a short at high frequencies and an open at low frequencies. In this situation, AC is able to get through, but DC is blocked.