A group of cardiac arrhythmias in which the cardiac contractions are not initiated at the sinoatrial node. They include both atrial and ventricular premature beats, and are also known as extra or ectopic heartbeats. Their frequency is increased in heart diseases.