Sotalol is a beta-blocker that affects the heart and circulation within the atrium and ventricles (the upper and lower chambers of the heart that allow blood to flow into and out of the heart).