Indeed, it is a proven mathematical theorem that a doughnut is topologically distinct from a sphere.

Simon Singh Top Tin Theorem