An aquarium filter is a simple, air-driven device using filters to provide both mechanical filtration (trapping debris like fish waste) and biological filtration (housing beneficial bacteria to break down harmful ammonia and nitrite). An air pump pushes air through a tube, creating suction that pulls tank water through the filters, cleaning and aerating it.