The answer is proglottids.
When tapeworm infect the intestine, it will attach a segment that consist of a part with many eggs called proglottids. The proglottids will constantly produce eggs. If the worm is removed but some of the proglottid leave behind, the infection would be recur, so it is important to remove all proglottid