Transmission of cestodes typically occurs through the ingestion of contaminated food or water. The most common sources include undercooked or raw meat, particularly pork, beef, and fish. For instance, the Taenia solium tapeworm is often contracted through undercooked pork, while Diphyllobothrium latum is associated with consuming raw or undercooked fish.