Well, the drive was not showing up even in the bios. I just found that new laptops have dummy DVD drives. Since even the emergency eject button wasn't working, so I concluded that it must be a dummy drive.
I'm very sorry for giving trouble to you. But thanks for this ultimate test.
I recently got an Acer One 14 Z2-485 laptop.
The laptop is pretty fine but there's some problem with the CD/DVD drive. It is not visible anywhere in my laptop.
I've tried every single solution on this website.
Solution 1 : I tried to view hidden devices(nothing came).
Solution 2 ...