What is a heart failure device, and how does it work?