If the drive was originally from a laptop, it should be readable in that enclosure. There's a small chance the laptop used some weird configuration Windows does not recognize outside of the laptop. But more likely the drive's contents are damaged. Both will cause the "format before you can use" message.
Try a partition manager, and see if you can see the individual partitions on the drive.
https://www.partitionwizard.com/free-partition-manager.html
If you can see the drive's partitions, the most common form of corruption I've seen which causes this error is the partition type gets set to a number which Windows doesn't recognize (if the old laptop was a Toshiba, Toshiba loved doing this - set up their boot drives in a weird single-disk RAID config for about a decade). Right-click the largest partition and select "Change Partition Type ID." If it's not 0x07 NTFS, write down what it is, and try changing it to 0x07 NTFS. See if that makes the drive contents visible. (If it doesn't work, change it back.)
Minitools Partition Wizard requires you to Apply changes before they become live. So simply completing the above steps may not be sufficient. You may need to hit the Apply button in the top left.
Ideally you'd make an image of this disk first before messing with anything. But I assume this is your only enclosure and external drive. If you're not willing to buy a second external drive for a backup, you're gonna have to take the risk of losing your data by messing with the drive. I assume the original laptop is dead, and you're trying to recover the data from its HDD?