Cardiac arrest indicates the heart has stopped beating. Heart failure is a condition of the heart's inability to pump adequately and can lead to cardiac arrest. An arrhythmia is condition of irregular heartbeats and can lead to cardiac arrest as well.
Thanks for your question and take care.