The bridge. Every external drive has a USB board between the drive and the computer. When that board fails the drive spins, the light is on, and the computer sees either nothing or a device it cannot name: USB device not recognized on Windows, silence on a Mac. The drive behind it is fine. On plain enclosures it comes out and is read directly; on native-USB drives such as WD Elements and Seagate's slim portables the board is repaired or carried by a donor; on WD My Passport and My Book the board is the encryption key and is preserved.
The firmware. A hard drive boots from a service area on its own platters. If that area has become unreadable, the drive spins up, the heads settle, and the drive never reports its identity; it may show as a blank device with no size, or under a factory name. The service area is repaired from the terminal on the bench, with every module backed up before a command is sent. Seagate's slim drives lock the terminal, and the lock is undone first.
The heads. If the heads are too weak to read the service area the result looks like a firmware fault and usually comes with a click or a soft tick. That is mechanical, and the drive should not be powered again. The drive letter. And sometimes the drive is entirely well: Windows has assigned no letter, or the partition is one the Mac does not read. Disk Management and Disk Utility will show a healthy drive with its full size, and the only rule is not to click Initialise, Format or Erase while you are there.