Preload refers to the initial stretching of the cardiac myocytes prior to contraction, which is influenced by the volume of blood returning to the heart. Afterload is the resistance the ventricles must overcome to eject blood, which is primarily determined by arterial blood pressure and vascular resistance. Both preload and afterload play a significant role in determining stroke volume and, consequently, cardiac output.