I have hard disk which is not detected in bios and also in disk utility.
I've tried to mount in another system, still same issue and also tried to mount in Windows still same issue. I've used ddrescue
in past but it was in case where hard drive was detected.
How can I recover data in this case?
What you have is a broken SATA drive (a hardware problem and technically off-topic here, but I'll let it slide as it's an issue occurring a lot) and now it depends where the problem is:
Disk platters:
OR
Disk controller:
How do you know which of the 2 problems you have?
Disk platters:
Source for controller pic
Source for Disk platter pic