The C-PAP machine keeps you breathing while you sleep. It doesn’t treat heart disease.
I use one, my wife insists I use it, but I am still not convinced my sleep is any better. It is annoying wearing the mask, and I still feel tired.