It is primarily used to treat and prevent severe, life-threatening heart rhythm disorders when other treatments are ineffective or cannot be tolerated.