The whistles in Thomas the Tank Engine are mating calls. They're all actually a type of mechanical flightless bird. It's complicated and that bit isn't really explained because it's a kids show