Well,
@levi and
@aTc are both right, but as a general rule, copying and pasting commands involving apt-key without thinking what they do is not the best advice. Even if the command was right, thinking about it or asking is wise.
Debian repositories are signed and tools like apt-get etc (or the software it uses) do check signatures. That's in addition of any signature in the package itself. There are signed files with lists of the hashes of other files.
Nowadays everything is https and cdns, but back then there were a lot of http and ftp mirrors, and it was easier to set up one if you just had to copy file trees to an unsecure server and have the tooling provide the security. This also means that the distro
didn't have to trust the mirror admins (or just trust them being nice on the load to other mirrors when syncing), and since it was all free software, anyone could put up a mirror anyway, with or without vetting by the distro, so it was better to have the distro private keys in one place and the repository widely distributed. A release must verifiably specify which packages and versions it contains, otherwise a mirror could sneak in some older version with an exploitable vulnerability or something, which could still have a proper (old) package signature.
Also in debian FTP masters have quite authority in what packages and versions belong to the distro. It's not enough that a developer signs a package to have it automatically in the repo, because the idea is that the distribution works as an integrated whole.
A package might be perfectly fine on its own but not work well with some other or do things in a different way than the distro policy, so it makes sense that there's per package QA and distro wide QA, so that having package signatures and repo signatures
does not seem odd. I no longer know whether all packages are individually signed nowadays. But the distro is.