Echinococcus granulosus is a tapeworm that causes hydatid disease in humans and intermediate hosts like sheep. It has a two-host lifecycle, using dogs as the definitive host and sheep as the primary intermediate host. In humans, the larval cysts most commonly form in the liver and lungs. The adult tapeworm lives in the small intestine of dogs, where it releases eggs that are passed in feces and ingested by intermediate hosts. When the eggs reach the liver, they develop into hydatid cysts.