The parasites attach themselves to the lining of the small intestines of the dog, and feed on the nutrients in the food consumed by the animal. When they mature, they break off the tail segment, which are then passed in the dog's feces. These segments contain the eggs, and once they dry out, they appear like tiny grains of rice, easily visible to the eyes.