Inductors could be used, instead of capacitors, in combination with resistors to make low-pass or high-pass filters. But in reality, however, inductors are not used. The reason is that inductors tend to be bulky and they are expensive. They depart from the ideal and eventually perform less well than capacitors. So in that case use a capacitor for high-pass or low-pass filters in combination with resistors.