Analysis of soil nematode feeding groups and functional guilds were used as a valuable tool to detect heavy metal pollution. Effects of cadmium (Cd) at 5 mg/kg, mercury (Hg) at 20mg/kg, combined Cd and Hg at 5+20mg/kg on the nematode communities were studied after three months application. Nematodes were collected from soil in rhizosphere of Morning glories (