Which of the following best describes preload and afterload?