Activated charcoal is an effective filter for both water and air, as it can adsorb and remove impurities, odors, and contaminants.