Photo a shows a worm-shaped nematode next to a capsule-shaped nematode egg. The illustration in part b shows a cross-section of a nematode, which has a mouth at one end and an anus at the other. The mouth connects to a pharynx, then to an intestine. A dorsal nerve runs along the top of the animal and joins ring-like head ganglia at the front end. Testes run alongside the intestine toward the back of the animal.