A hospital-confinement indemnity plan pays you a fixed fee if you are admitted to a hospital. It does the same for a nursing facility. You can use the money to help pay for health care costs.
A hospital indemnity plan is not health insurance. You use it like supplemental hospital coverage. So if you have to stay in the hospital, you have extra money to help you pay for your care.