Digoxin is a cardiac glycoside that inhibits the sodium-potassium ATPase pump in myocardial cells, leading to increased intracellular sodium. This increase reduces the activity of the sodium-calcium exchanger, resulting in elevated intracellular calcium concentrations. The higher intracellular calcium enhances cardiac muscle contractility (positive inotropic effect). Additionally, digoxin increases vagal (parasympathetic) tone, which slows conduction through the atrioventricular (AV) node and decreases heart rate (negative chronotropic effect), beneficial in controlling ventricular response in atrial fibrillation.