Digoxin is a cardiac glycoside commonly used in the management of various heart conditions, including atrial fibrillation and heart failure. It works by inhibiting the sodium-potassium ATPase pump, which increases intracellular sodium concentration and indirectly boosts calcium levels in heart muscle cells. This mechanism enhances cardiac contractility and controls the heart rate.