The canal connects the Atlantic and Pacific Oceans across the Isthmus of Panama. It does not pass through multiple countries – it is wholly contained within the Republic of Panama.
It's a common trick question! The canal zone was US-administered until 1999, but the territory has always been Panamanian.