Fish waste, turned into nitrates by bacteria, feeds the plants, and the plants clean the water that goes back to the fish. The number of fish, the plants and the filtration all need to be well balanced.
Technique
Aquaponics

Rana· about aquaponics
A system that combines fish and plants in a single water circuit.

Complete guide to hydroponics