Toxins can disrupt the normal function of the heart by interfering with the cardiac ion channels, enzymes, or autonomic nervous system. For instance, certain drugs, like digoxin and cocaine, can alter ion fluxes across cardiac cell membranes, leading to arrhythmias. Environmental toxins, such as heavy metals and pesticides, can also impair the electrophysiological properties of the heart.