With the aid of diagrams where necessary, write a report to explain the anatomy and physiology of the cardiovascular and respiratory system. Your report should also include a case study on a named disease which affects the cardiopulmonary system. Written report and the brief should be submitted on Turnitin. Ensure you consider the following points: 1. Introduction Briefly outline the objectives of the report (one paragraph and in 3rd person) 2. How does the heart function? (A.C. 1.1,1.2) 3. What are arteries, capillaries and veins and how do they help the heart to function as a pump? Highlight key similarities and differences between the 3 types of blood vessels . (A.C 1.3). Describe structure and function of red blood cell and analyse how the structural features are adaptations for function of red blood cell (A.C 1.4). 4. Structure and function of Respiratory System. How do the various parts of the respiratory system function together to facilitate inhalation and exhalation? Use the laws of diffusion to explain gas exchange in the alveolus (A.C 2.1-2.2). You must include a labelled diagram of the respiratory system. 5. Analyse how exercise affects ventilation and relate this to homeostasis (A.C. 2.3). 6. Write a case study on a disease which affects the cardiopulmonary system, for example coronary artery disease, myocardial infarction, asthma, pneumonia or emphysema. (A.C.3.1) 7. Conclusion Summarise key points. 8. Your completed work should not exceed 2000 words (+/- 10%). Please use double line spacing. 9. You must reference your report using the Harvard Referencing system. It will add quality to your work if you use references from various articles and authors. Criteria to achieve 1.1. Investigate the structure of the mammalian heart. 1.2. Analyse the cardiac cycle and explain how it is initiated and controlled by the heart’s electrical activity. 1.3. Compare and contrast types of blood vessel. 1.4. Describe the structure and function of red blood cells. 2 Understand the respiratory system 2.1. Identify gross anatomical structures of the respiratory system and relate to function. 2.2. Explain how the microscopic structure of an alveolus relates to its function. 2.3. Investigate changes in ventilation at rest and after exercise and relate to homeostasis. 3 Be able to investigate the pathologies of the cardiopulmonary system. 3.1. Produce a case study on a named disease that affects the cardiopulmonary system

Your credits are exhausted. You can purchase a top-up or subscribe to a plan to continue using Orris. If you're already subscribed, your daily credits will reset tomorrow.

orris logo New Chat RECENT Cardiovascular and Respiratory Systems Report OCT 20, 2026 Seizures and Epilepsy: Resident PPT OCT 19, 2026 Constipation: GI Tract Management Leaflet OCT 14, 2026 Hypertension Crisis & Control OCT 10, 2026 Cirrhosis Complications: PG OCT 5, 2026 MEN & Polyglandular Syndromes SEP 29, 2026 Oxygen Therapy: Safe Use SEP 28, 2026 Hepatitis B: Serology & Tx SEP 24, 2026 Hepatitis B Clinical Review SEP 22, 2026 Psychology Careers Across Diverse Fields SEP 15, 2026 Calcium-Phosphate Disorders SEP 3, 2026 UK Shift Work & Burnout AUG 27, 2026 Inotrope/Vasopressor Titration AUG 24, 2026 Military Stress & Substance Abuse AUG 19, 2026 Prolactin-Dopamine Pathways Prolactin and Dopamine Pathways AUG 17, 2026 Hypertensive Emergency with Acute Kidney Injury AUG 13, 2026 Peptic Ulcer Disease Overview DKA Management for Internal Medicine AUG 7, 2026 SLE Power Presentation Guide AUG 4, 2026 Hormone Physiology and Clinical Assessment PowerPoint Presentation Creation JUL 29, 2026 SLE Postgraduate Internal Medicine Overview Moses Kazevu With the aid of diagrams where necessary, write a report to explain the anatomy and physiology of the cardiovascular and respiratory system. Your report should also include a case study on a named disease which affects the cardiopulmonary system. Written report and the brief should be submitted on Turnitin. Ensure you consider the following points: 1. Introduction Briefly outline the objectives of the report (one paragraph and in 3rd person) 2. How does the heart function? (A.C. 1.1,1.2) 3. What are arteries, capillaries and veins and how do they help the heart to function as a pump? Highlight key similarities and differences between the 3 types of blood vessels . (A.C 1.3). Describe structure and function of red blood cell and analyse how the structural features are adaptations for function of red blood cell (A.C 1.4). 4. Structure and function of Respiratory System. How do the various parts of the respiratory system function together to facilitate inhalation and exhalation? Use the laws of diffusion to explain gas exchange in the alveolus (A.C 2.1-2.2). You must include a labelled diagram of the respiratory system. 5. Analyse how exercise affects ventilation and relate this to homeostasis (A.C. 2.3). 6. Write a case study on a disease which affects the cardiopulmonary system, for example coronary artery disease, myocardial infarction, asthma, pneumonia or emphysema. (A.C.3.1) 7. Conclusion Summarise key points. 8. Your completed work should not exceed 2000 words (+/- 10%). Please use double line spacing. 9. You must reference your report using the Harvard Referencing system. It will add quality to your work if you use references from various articles and authors. Criteria to achieve 1.1. Investigate the structure of the mammalian heart. 1.2. Analyse the cardiac cycle and explain how it is initiated and controlled by the heart’s electrical activity. 1.3. Compare and contrast types of blood vessel. 1.4. Describe the structure and function of red blood cells. 2 Understand the respiratory system 2.1. Identify gross anatomical structures of the respiratory system and relate to function. 2.2. Explain how the microscopic structure of an alveolus relates to its function. 2.3. Investigate changes in ventilation at rest and after exercise and relate to homeostasis. 3 Be able to investigate the pathologies of the cardiopulmonary system. 3.1. Produce a case study on a named disease that affects the cardiopulmonary system

Reading File
Reading File
  1. Introduction and report aims
    A third-person opening paragraph setting out that the report explains cardiovascular and respiratory anatomy and physiology, links both systems in oxygen delivery, and applies this knowledge to one cardiopulmonary disease.
  2. Heart anatomy and function
    Structure of the mammalian heart: chambers, valves, septum, coronary circulation, and major vessels. This includes blood flow through pulmonary and systemic circulations.
  3. Cardiac cycle and electrical control
    Atrial and ventricular systole and diastole, valve movements, and how the sinoatrial node, atrioventricular node, bundle of His and Purkinje fibres coordinate contraction.
  4. Blood vessels and red blood cells
    Comparison of arteries, veins and capillaries, including wall thickness, lumen size, pressure, valves and exchange function. Red blood cell structure, haemoglobin, biconcave shape, absence of a nucleus, and adaptations for oxygen transport.
  5. Respiratory anatomy, ventilation and gas exchange
    Gross anatomy from nose to alveoli, mechanisms of inhalation and exhalation, and alveolar adaptations for efficient diffusion of oxygen and carbon dioxide.
  6. Exercise, ventilation and homeostasis
    Changes in breathing rate and depth during exercise, increased carbon dioxide production, neural and chemical control, and maintenance of blood pH and oxygen supply.
  7. Named cardiopulmonary disease case study
    A case study on one condition, such as asthma, coronary artery disease, myocardial infarction, pneumonia or emphysema. It should link pathology, symptoms, diagnosis, treatment and effects on normal cardiopulmonary function.
  8. Conclusion and Harvard references
    Concise synthesis of the report’s main findings, followed by properly formatted Harvard citations and a reference list.
The report should present the cardiovascular and respiratory systems as an integrated unit: the heart pumps blood to the lungs for gas exchange, then supplies oxygenated blood to body tissues. Its diagrams should clarify the route of blood through the heart and lungs, the respiratory tract, and microscopic alveolar gas exchange.
A strong case-study choice is asthma, because it clearly demonstrates how airway inflammation and bronchoconstriction impair ventilation, alter gas exchange and can increase cardiac workload during severe attacks. Alternatively, coronary artery disease gives more emphasis to the cardiovascular component.
Which section should be developed in detail first?

Write the complete report within the 2,000-word limit

Reading File
Finding Sources
Finding Sources
Finding Sources
Searching PubMed

asthma AND exercise

Searching the Web

NHS asthma overview symptoms treatment 2025

Anatomy and Physiology of the Cardiovascular and Respiratory Systems: Asthma Case Study

Approximate word count: 1,900 words, excluding references and diagram captions

1. Introduction

This report explains the anatomy and physiology of the cardiovascular and respiratory systems and evaluates how they work together to maintain oxygen delivery and carbon dioxide removal. It examines the structure and pumping action of the mammalian heart, the cardiac cycle and its electrical control, blood vessels and red blood cells. The report also discusses respiratory anatomy, ventilation, alveolar gas exchange and the response to exercise. Finally, it presents a case study of asthma to demonstrate how disease can disrupt normal cardiopulmonary function.

2. Heart structure and function

The heart is a muscular organ located in the mediastinum, between the lungs and slightly to the left of the midline. It acts as a double pump: the right side pumps deoxygenated blood to the lungs through the pulmonary circulation, whereas the left side pumps oxygenated blood to the body through the systemic circulation.
The heart has four chambers. The right atrium receives deoxygenated blood from the superior and inferior vena cava. Blood then passes through the tricuspid valve into the right ventricle. When the right ventricle contracts, blood is ejected through the pulmonary valve into the pulmonary artery and travels to the lungs. In the lungs, carbon dioxide is removed and oxygen is absorbed.
Oxygenated blood returns from the lungs in the pulmonary veins and enters the left atrium. It flows through the mitral, also called bicuspid, valve into the left ventricle. The left ventricle has the thickest myocardium because it must generate sufficient pressure to pump blood around the entire body. During ventricular contraction, blood passes through the aortic valve into the aorta and systemic circulation (Tortora and Derrickson, 2021).
The septum separates the right and left sides of the heart. This separation is important because it prevents mixing of oxygenated and deoxygenated blood. Heart valves maintain one-way blood flow. The atrioventricular valves, tricuspid and mitral, prevent blood returning to the atria during ventricular systole. The semilunar valves, pulmonary and aortic, prevent blood flowing back into the ventricles after ejection.
Figure 1. Simplified route of blood through the heart and lungs
BODY TISSUES
    │  Deoxygenated blood
    ▼
Venae cavae → Right atrium → Tricuspid valve → Right ventricle
                                                   │
                                                   ▼
                                          Pulmonary artery
                                                   │
                                                   ▼
                                                LUNGS
                                      CO2 removed; O2 absorbed
                                                   │
                                                   ▼
Pulmonary veins → Left atrium → Mitral valve → Left ventricle
                                                   │
                                                   ▼
                                                 Aorta
                                                   │
                                                   ▼
                                              BODY TISSUES
The myocardium itself requires a continuous oxygen supply. The right and left coronary arteries arise from the aorta and supply the heart muscle. If a coronary artery becomes narrowed or blocked, myocardial oxygen supply can become inadequate, leading to angina or myocardial infarction.

The cardiac cycle and electrical activity

The cardiac cycle consists of coordinated periods of relaxation, termed diastole, and contraction, termed systole. During ventricular diastole, the ventricles relax and fill with blood. Most filling occurs passively, but atrial systole provides an additional volume of blood at the end of ventricular filling. This is sometimes referred to as the “atrial kick”.
Ventricular systole begins when ventricular pressure rises above atrial pressure. The atrioventricular valves close, producing the first heart sound, often described as “lub”. When ventricular pressure exceeds pressure in the pulmonary artery and aorta, the semilunar valves open and blood is ejected. As the ventricles relax, their pressure falls below that in the great arteries. The aortic and pulmonary valves close, producing the second heart sound, “dub”.
The heartbeat is myogenic, meaning that cardiac muscle can generate its own electrical impulses. The sinoatrial node, situated in the right atrium, is the natural pacemaker. It normally initiates depolarisation, which spreads across both atria and causes atrial contraction. The impulse reaches the atrioventricular node, where there is a brief delay. This delay allows ventricular filling to be completed before ventricular contraction begins.
The electrical signal then travels through the bundle of His, right and left bundle branches, and Purkinje fibres. This produces a coordinated contraction from the apex of the ventricles upwards, allowing efficient ejection of blood into the pulmonary artery and aorta. The autonomic nervous system modifies, rather than initiates, this rhythm. Sympathetic stimulation increases heart rate and force of contraction, while parasympathetic stimulation through the vagus nerve reduces heart rate (Hall, 2021).

3. Blood vessels and red blood cells

Blood vessels form a continuous network that supports the pumping action of the heart. Arteries carry blood away from the heart, veins return blood to the heart, and capillaries are microscopic exchange vessels that link the two.
FeatureArteriesCapillariesVeins
Direction of blood flowAway from the heartBetween arterioles and venulesTowards the heart
Wall structureThick, muscular and elasticOne endothelial cell thickThinner walls with less muscle and elastin
LumenRelatively narrowExtremely narrowWide
PressureHighFalls across capillary bedLow
ValvesAbsent, except at heart exitsAbsentPresent, especially in limbs
Main functionDistribute blood under pressureExchange gases, nutrients and wastesReturn blood and act as blood reservoir
All vessels are lined by endothelium, a thin layer that provides a smooth surface for blood flow. However, their structures are adapted to different pressures and functions. Arterial walls contain abundant smooth muscle and elastic tissue. Elastic recoil helps maintain blood pressure between heartbeats, while smooth muscle changes vessel diameter and controls distribution of blood to tissues.
Capillaries have very thin walls, usually a single layer of endothelial cells and a basement membrane. This creates a short diffusion distance for oxygen, carbon dioxide, nutrients and metabolic waste. Their narrow diameter also slows blood flow and brings red blood cells close to the vessel wall. Veins operate under lower pressure and have wider lumens. Skeletal muscle contractions and one-way valves help return blood to the heart, particularly against gravity in the lower limbs.
Red blood cells, also called erythrocytes, transport oxygen from the lungs to body tissues and assist with carbon dioxide transport back to the lungs. Their principal component is haemoglobin, an iron-containing protein that binds oxygen reversibly. In the lungs, where oxygen partial pressure is high, haemoglobin loads oxygen. In metabolically active tissues, where oxygen partial pressure is lower and carbon dioxide is higher, haemoglobin releases oxygen.
Red blood cells are adapted to this task in several ways. First, their biconcave disc shape provides a large surface-area-to-volume ratio, allowing rapid oxygen diffusion. Second, the thin centre reduces diffusion distance. Third, mature red blood cells lack a nucleus and most organelles, leaving more internal space for haemoglobin. They also lack mitochondria, so they do not use the oxygen that they transport. Finally, their flexibility enables them to pass through capillaries narrower than their resting diameter (OpenStax, 2023).

4. Structure and function of the respiratory system

The respiratory system conducts air to the gas-exchange surfaces of the lungs and removes carbon dioxide from the body. Air normally enters through the nose or mouth. The nasal cavity warms, filters and humidifies inspired air. It then passes through the pharynx, larynx and trachea. The trachea is supported by C-shaped cartilage rings that prevent airway collapse.
The trachea divides into the right and left primary bronchi, which enter the lungs. Repeated branching forms smaller bronchi, bronchioles, terminal bronchioles and respiratory bronchioles. These end in alveolar ducts and alveoli. The lungs are covered by pleural membranes. Pleural fluid between the visceral and parietal pleura reduces friction as the lungs move during breathing.
Figure 2. Labelled diagram of the respiratory system
              Nose / nasal cavity
                     │
                  Pharynx
                     │
                  Larynx
                     │
                  Trachea
                     │
             ┌───────┴───────┐
             │               │
      Right primary      Left primary
         bronchus          bronchus
             │               │
         Bronchi          Bronchi
             │               │
        Bronchioles      Bronchioles
             │               │
       Alveolar sacs    Alveolar sacs
          (alveoli)        (alveoli)
             \               /
              └──── Lungs ──┘
                    │
                Diaphragm
Inhalation is an active process. The diaphragm contracts and flattens, while the external intercostal muscles lift the ribs upwards and outwards. Thoracic volume increases, reducing intrathoracic pressure below atmospheric pressure. Air therefore moves into the lungs down a pressure gradient.
During quiet exhalation, the diaphragm and external intercostal muscles relax. Elastic recoil of the lungs and chest wall reduces thoracic volume, increasing intrapulmonary pressure. Air then moves out of the lungs. During exercise or forced expiration, internal intercostal and abdominal muscles actively reduce thoracic volume further.

Alveolar gas exchange and diffusion

Alveoli are microscopic air sacs surrounded by dense capillary networks. They provide a large surface area for gas exchange. Each alveolus has a very thin wall, largely formed by type I alveolar epithelial cells. Capillary walls are also only one cell thick, so the alveolar-capillary membrane has a very short diffusion distance. Type II alveolar cells produce surfactant, which lowers surface tension and helps prevent alveolar collapse.
Gas exchange occurs by simple diffusion, where molecules move from an area of higher partial pressure to one of lower partial pressure. Oxygen partial pressure is higher in alveolar air than in deoxygenated pulmonary capillary blood; oxygen therefore diffuses into the blood and binds to haemoglobin. Carbon dioxide partial pressure is higher in pulmonary capillary blood than in alveolar air, so carbon dioxide diffuses into the alveoli and is exhaled.
Fick’s law states that diffusion rate increases with a greater surface area and concentration gradient, but decreases when membrane thickness increases. Alveoli are adapted accordingly: millions of alveoli provide a large surface area, their walls are thin, and ventilation and perfusion maintain steep oxygen and carbon dioxide gradients (Hall, 2021).

5. Exercise, ventilation and homeostasis

At rest, ventilation maintains relatively stable arterial oxygen, carbon dioxide and pH values. During exercise, muscles require more ATP and therefore consume more oxygen and produce more carbon dioxide. Ventilation rises through an increase in tidal volume, the volume of each breath, and respiratory rate. Minute ventilation is calculated as respiratory rate multiplied by tidal volume.
Initially, neural signals from the motor cortex and sensory input from working muscles stimulate the respiratory centres in the medulla. As exercise continues, increased carbon dioxide and hydrogen ion concentrations are detected by chemoreceptors. Central chemoreceptors respond mainly to carbon dioxide-related changes in cerebrospinal fluid pH, while peripheral chemoreceptors in the carotid and aortic bodies respond to changes in oxygen, carbon dioxide and pH.
Increased ventilation removes extra carbon dioxide, helping limit acidosis. The cardiovascular system simultaneously increases cardiac output by raising heart rate and stroke volume. More oxygenated blood reaches active skeletal muscles and more carbon dioxide returns to the lungs. These coordinated changes demonstrate homeostasis: internal conditions are regulated despite increased metabolic demand.

6. Case study: Asthma

Asthma is a chronic inflammatory disease of the airways characterised by variable respiratory symptoms and variable expiratory airflow limitation. Symptoms may include wheeze, breathlessness, chest tightness and cough. Common triggers include allergens, viral infection, cold air, smoke, pollution and exercise.
A hypothetical case involves Amelia, a 21-year-old university student with a history of childhood eczema and seasonal allergic rhinitis. She reports intermittent wheeze, nocturnal cough and breathlessness when running. Her symptoms worsened after a viral upper respiratory infection. Spirometry demonstrates reduced expiratory airflow with significant improvement after a bronchodilator, supporting a diagnosis of asthma.
In asthma, airway inflammation causes bronchial smooth-muscle constriction, swelling of the mucosal lining and increased mucus production. These changes narrow the bronchi and bronchioles. Resistance to airflow rises markedly because airway resistance increases as airway radius falls. Expiration becomes particularly difficult because small airways tend to narrow further as intrathoracic pressure rises during exhalation. This can cause air trapping, hyperinflation and the sensation of breathlessness.
The disease disrupts normal ventilation and gas exchange. Some alveoli may receive inadequate ventilation despite continued blood flow, creating ventilation-perfusion mismatch. Mild or moderate asthma commonly causes low carbon dioxide because the person hyperventilates. In a severe attack, fatigue and worsening obstruction may cause carbon dioxide retention, which is a serious sign requiring urgent assessment.
Amelia’s management should include education about trigger avoidance, correct inhaler technique and a personalised asthma action plan. Reliever bronchodilators relax airway smooth muscle and provide rapid symptom relief. Inhaled corticosteroids reduce airway inflammation and lower the risk of exacerbations. Treatment should be reviewed regularly because asthma control and inhaler adherence can change over time. The NHS asthma guidance states that inhaled medicines are the main treatment and that correct inhaler use and routine review are important. Evidence reviews also indicate that appropriately managed exercise can improve fitness and quality of life in people with asthma, although exercise-induced symptoms require good baseline control and an individual management plan (Huang et al., 2025).

7. Conclusion

The cardiovascular and respiratory systems are interdependent. The heart generates pressure to circulate blood through pulmonary and systemic circuits, while arteries, capillaries and veins enable distribution, exchange and venous return. Red blood cells are highly specialised for oxygen transport. The respiratory system conducts air to alveoli, where diffusion across a thin alveolar-capillary membrane exchanges oxygen and carbon dioxide. During exercise, ventilation and cardiac output increase to preserve oxygen delivery, carbon dioxide removal and acid-base balance. Asthma demonstrates how airway inflammation, bronchoconstriction and mucus production can impair ventilation and disrupt normal gas exchange.

Reference List

Hall, J.E. (2021) Guyton and Hall textbook of medical physiology. 14th edn. Philadelphia: Elsevier.
Huang, F., Yang, S. and Ma, M. (2025) ‘Effects of physical exercises in asthma: an umbrella review of systematic reviews and meta-analysis’, Clinical Respiratory Journal, 19, e70075. doi: 10.1111/crj.70075.
NHS (2025) Asthma. Available at: NHS asthma information (Accessed: 23 October 2026).
OpenStax (2023) Anatomy and Physiology 2e. Houston, TX: OpenStax, Rice University. Available at: OpenStax Anatomy and Physiology (Accessed: 23 October 2026).
Tortora, G.J. and Derrickson, B. (2021) Principles of anatomy and physiology. 16th edn. Hoboken, NJ: Wiley.

Export as word document

Reading File
Reading File
Browsing Directory

~/

Running Command

mkdir -p "/tmp/workspace/cardiopulmonary-report/src" "/tmp/workspace/cardiopulmonary-report/output" "/tmp/workspace/cardiopulmonary-report/assets"

Browsing Directory

~/cardiopulmonary-report/

Writing File

~/cardiopulmonary-report/src/create_report.py

from docx import Document
from docx.shared import Inches, Pt, RGBColor
from docx.enum.text import WD_ALIGN_PARAGRAPH
from docx.enum.table import WD_TABLE_ALIGNMENT, WD_CELL_VERTICAL_ALIGNMENT
from docx.oxml import OxmlElement
from docx.oxml.ns import qn
from docx.enum.section import WD_SECTION
from docx.enum.style import WD_STYLE_TYPE
from docx.enum.text import WD_BREAK
import matplotlib.pyplot as plt
from matplotlib.patches import FancyBboxPatch, FancyArrowPatch
import os, re

BASE = '/tmp/workspace/cardiopulmonary-report'
OUT = os.path.join(BASE, 'output', 'Cardiovascular_and_Respiratory_Systems_Report.docx')
ASSETS = os.path.join(BASE, 'assets')
os.makedirs(ASSETS, exist_ok=True)

# ---------- diagrams ----------
def box(ax, x, y, text, w=1.7, h=.55, color='#eaf2f8'):
    p = FancyBboxPatch((x-w/2,y-h/2),w,h,boxstyle='round,pad=0.04',facecolor=color,edgecolor='#1f4e79',linewidth=1.1)
    ax.add_patch(p); ax.text(x,y,text,ha='center',va='center',fontsize=8,wrap=True)
def arrow(ax, x1,y1,x2,y2):
    ax.add_patch(FancyArrowPatch((x1,y1),(x2,y2),arrowstyle='-|>',mutation_scale=12,color='#1f4e79',linewidth=1.2))
fig, ax = plt.subplots(figsize=(9,5)); ax.set_xlim(0,10); ax.set_ylim(0,5); ax.axis('off')
box(ax,1,2.5,'Body tissues\n(deoxygenated blood)',2.0,.72,'#fdecea'); box(ax,3.1,2.5,'Venae cavae',1.45,.55)
box(ax,5.0,3.5,'Right atrium',1.45,.55); box(ax,6.9,3.5,'Right ventricle',1.55,.55); box(ax,8.9,3.5,'Lungs\nO₂ in, CO₂ out',1.55,.7,'#e8f6f3')
box(ax,8.9,1.35,'Pulmonary veins',1.65,.55); box(ax,6.8,1.35,'Left atrium',1.45,.55); box(ax,4.85,1.35,'Left ventricle',1.55,.55); box(ax,2.8,1.35,'Aorta',1.25,.55)
for a in [(2.05,2.5,2.38,2.5),(3.83,2.5,4.65,3.3),(5.75,3.5,6.1,3.5),(7.7,3.5,8.1,3.5),(8.9,3.13,8.9,1.75),(8.05,1.35,7.55,1.35),(6.05,1.35,5.65,1.35),(4.05,1.35,3.45,1.35),(2.18,1.35,1.0,2.1)]: arrow(ax,*a)
ax.text(5,4.6,'Blood flow through the heart and pulmonary circulation',ha='center',fontsize=13,fontweight='bold',color='#17365d')
fig.tight_layout(); heart_img=os.path.join(ASSETS,'heart_circulation.png'); fig.savefig(heart_img,dpi=200,bbox_inches='tight'); plt.close(fig)

fig, ax = plt.subplots(figsize=(7.5,7)); ax.set_xlim(0,10); ax.set_ylim(0,12); ax.axis('off')
for y,label,w in [(11,'Nose / nasal cavity',2.3),(9.9,'Pharynx',1.6),(8.8,'Larynx',1.5),(7.7,'Trachea',1.5)]: box(ax,5,y,label,w,.52)
box(ax,2.8,6.3,'Right primary\nbronchus',1.8,.65); box(ax,7.2,6.3,'Left primary\nbronchus',1.8,.65)
box(ax,2.3,4.7,'Bronchioles',1.7,.52); box(ax,7.7,4.7,'Bronchioles',1.7,.52)
box(ax,2.2,3.1,'Alveolar sacs\n(alveoli)',1.8,.65,'#e8f6f3'); box(ax,7.8,3.1,'Alveolar sacs\n(alveoli)',1.8,.65,'#e8f6f3')
box(ax,5,1.25,'Diaphragm',2.0,.55,'#fcf3cf')
for a in [(5,10.72,5,10.18),(5,9.62,5,9.08),(5,8.52,5,7.98),(4.45,7.45,3.2,6.65),(5.55,7.45,6.8,6.65),(2.65,5.95,2.4,5.0),(7.35,5.95,7.6,5.0),(2.3,4.43,2.2,3.45),(7.7,4.43,7.8,3.45)]: arrow(ax,*a)
ax.text(5,11.7,'Major structures of the respiratory system',ha='center',fontsize=13,fontweight='bold',color='#17365d')
fig.tight_layout(); resp_img=os.path.join(ASSETS,'respiratory_system.png'); fig.savefig(resp_img,dpi=200,bbox_inches='tight'); plt.close(fig)

# ---------- document helpers ----------
doc=Document()
sec=doc.sections[0]; sec.top_margin=Inches(.75); sec.bottom_margin=Inches(.75); sec.left_margin=Inches(.8); sec.right_margin=Inches(.8)
styles=doc.styles
normal=styles['Normal']; normal.font.name='Arial'; normal._element.rPr.rFonts.set(qn('w:eastAsia'),'Arial'); normal.font.size=Pt(11); normal.paragraph_format.line_spacing=2; normal.paragraph_format.space_after=Pt(0)
for name,size,color in [('Title',18,'17365D'),('Heading 1',14,'17365D'),('Heading 2',12,'1F4E79')]:
    s=styles[name]; s.font.name='Arial'; s._element.rPr.rFonts.set(qn('w:eastAsia'),'Arial'); s.font.size=Pt(size); s.font.bold=True; s.font.color.rgb=RGBColor.from_string(color); s.paragraph_format.space_before=Pt(12); s.paragraph_format.space_after=Pt(3); s.paragraph_format.line_spacing=1.15
caption=styles.add_style('Figure Caption',WD_STYLE_TYPE.PARAGRAPH); caption.font.name='Arial'; caption.font.size=Pt(9); caption.font.italic=True; caption.paragraph_format.alignment=WD_ALIGN_PARAGRAPH.CENTER; caption.paragraph_format.space_after=Pt(5); caption.paragraph_format.line_spacing=1

def set_cell_shading(cell, fill):
    tcPr=cell._tc.get_or_add_tcPr(); shd=OxmlElement('w:shd'); shd.set(qn('w:fill'),fill); tcPr.append(shd)
def add_para(text, italic=False):
    p=doc.add_paragraph(); p.paragraph_format.line_spacing=2
    r=p.add_run(text); r.italic=italic
    return p

def add_heading(text, level=1): doc.add_heading(text, level=level)

# cover
p=doc.add_paragraph(); p.alignment=WD_ALIGN_PARAGRAPH.CENTER; p.paragraph_format.space_before=Pt(80)
r=p.add_run('Anatomy and Physiology of the\nCardiovascular and Respiratory Systems'); r.bold=True; r.font.size=Pt(20); r.font.color.rgb=RGBColor(23,54,93)
p=doc.add_paragraph(); p.alignment=WD_ALIGN_PARAGRAPH.CENTER; p.add_run('Including a Case Study of Asthma').italic=True
for label in ['Student name: ______________________________','Student ID: __________________________________','Module: ______________________________________','Submission date: ______________________________']:
    p=doc.add_paragraph(); p.alignment=WD_ALIGN_PARAGRAPH.CENTER; p.paragraph_format.space_before=Pt(9); p.add_run(label)
doc.add_page_break()

p=doc.add_paragraph(); p.alignment=WD_ALIGN_PARAGRAPH.CENTER; r=p.add_run('Anatomy and Physiology of the Cardiovascular and Respiratory Systems: Asthma Case Study'); r.bold=True; r.font.size=Pt(16); r.font.color.rgb=RGBColor(23,54,93)
p=doc.add_paragraph(); p.alignment=WD_ALIGN_PARAGRAPH.CENTER; p.add_run('Approximate word count: 1,900 words (excluding references and captions)').italic=True

add_heading('1. Introduction')
add_para('This report explains the anatomy and physiology of the cardiovascular and respiratory systems and evaluates how they work together to maintain oxygen delivery and carbon dioxide removal. It examines the structure and pumping action of the mammalian heart, the cardiac cycle and its electrical control, blood vessels and red blood cells. The report also discusses respiratory anatomy, ventilation, alveolar gas exchange and the response to exercise. Finally, it presents a case study of asthma to demonstrate how disease can disrupt normal cardiopulmonary function.')

add_heading('2. Heart structure and function')
add_para('The heart is a muscular organ located in the mediastinum, between the lungs and slightly to the left of the midline. It acts as a double pump: the right side pumps deoxygenated blood to the lungs through the pulmonary circulation, whereas the left side pumps oxygenated blood to the body through the systemic circulation.')
add_para('The heart has four chambers. The right atrium receives deoxygenated blood from the superior and inferior vena cava. Blood then passes through the tricuspid valve into the right ventricle. When the right ventricle contracts, blood is ejected through the pulmonary valve into the pulmonary artery and travels to the lungs. In the lungs, carbon dioxide is removed and oxygen is absorbed.')
add_para('Oxygenated blood returns from the lungs in the pulmonary veins and enters the left atrium. It flows through the mitral, also called bicuspid, valve into the left ventricle. The left ventricle has the thickest myocardium because it must generate sufficient pressure to pump blood around the entire body. During ventricular contraction, blood passes through the aortic valve into the aorta and systemic circulation (Tortora and Derrickson, 2021).')
add_para('The septum separates the right and left sides of the heart, preventing mixing of oxygenated and deoxygenated blood. Heart valves maintain one-way flow. The atrioventricular valves, tricuspid and mitral, prevent blood returning to the atria during ventricular systole. The semilunar valves, pulmonary and aortic, prevent blood flowing back into the ventricles after ejection.')
p=doc.add_paragraph(); p.alignment=WD_ALIGN_PARAGRAPH.CENTER; p.add_run().add_picture(heart_img,width=Inches(6.55)); doc.add_paragraph('Figure 1. Simplified route of blood through the heart and lungs.',style='Figure Caption')
add_para('The myocardium requires a continuous oxygen supply. The right and left coronary arteries arise from the aorta and supply the heart muscle. If a coronary artery becomes narrowed or blocked, myocardial oxygen supply can become inadequate, leading to angina or myocardial infarction.')

add_heading('The cardiac cycle and electrical activity',2)
add_para('The cardiac cycle consists of coordinated relaxation, termed diastole, and contraction, termed systole. During ventricular diastole, the ventricles relax and fill with blood. Most filling occurs passively, but atrial systole provides an additional volume at the end of ventricular filling, often called the atrial kick. Ventricular systole begins when ventricular pressure rises above atrial pressure. The atrioventricular valves close, producing the first heart sound, “lub”. When ventricular pressure exceeds pressure in the pulmonary artery and aorta, the semilunar valves open and blood is ejected. As the ventricles relax, their pressure falls below that in the great arteries; the aortic and pulmonary valves close, producing the second heart sound, “dub”.')
add_para('The heartbeat is myogenic, meaning cardiac muscle generates its own electrical impulses. The sinoatrial node in the right atrium is the natural pacemaker. Its depolarisation spreads across both atria, causing atrial contraction. The impulse reaches the atrioventricular node, where a brief delay permits ventricular filling before ventricular contraction. The signal then travels through the bundle of His, right and left bundle branches, and Purkinje fibres. This produces coordinated contraction from the ventricular apex upwards, enabling efficient ejection into the pulmonary artery and aorta. The autonomic nervous system modifies this intrinsic rhythm: sympathetic stimulation increases heart rate and contractility, while parasympathetic vagal stimulation lowers heart rate (Hall, 2021).')

add_heading('3. Blood vessels and red blood cells')
add_para('Blood vessels form a continuous network that supports the pumping action of the heart. Arteries carry blood away from the heart, veins return blood to the heart, and capillaries are microscopic exchange vessels linking the two.')
table=doc.add_table(rows=1, cols=4); table.alignment=WD_TABLE_ALIGNMENT.CENTER; table.style='Table Grid'
hdr=table.rows[0].cells
for c,t in zip(hdr,['Feature','Arteries','Capillaries','Veins']): c.text=t; set_cell_shading(c,'D9EAF7'); c.vertical_alignment=WD_CELL_VERTICAL_ALIGNMENT.CENTER
rows=[('Direction','Away from heart','Between arterioles and venules','Towards heart'),('Wall','Thick, muscular and elastic','One endothelial cell thick','Thinner, less muscle and elastin'),('Lumen','Relatively narrow','Extremely narrow','Wide'),('Pressure','High','Falls across capillary bed','Low'),('Valves','Absent, except at heart exits','Absent','Present, especially in limbs'),('Main function','Distribute blood under pressure','Exchange gases, nutrients and wastes','Return blood and act as reservoir')]
for row in rows:
    cells=table.add_row().cells
    for c,t in zip(cells,row): c.text=t; c.vertical_alignment=WD_CELL_VERTICAL_ALIGNMENT.CENTER
for row in table.rows:
    for cell in row.cells:
        for p in cell.paragraphs:
            p.paragraph_format.line_spacing=1.0; p.paragraph_format.space_after=Pt(0)
            for r in p.runs: r.font.name='Arial'; r.font.size=Pt(8.5)
add_para('All vessels are lined by endothelium, providing a smooth surface for blood flow, but their structures reflect different functions. Arterial walls contain smooth muscle and elastic tissue. Elastic recoil helps maintain pressure between heartbeats, and smooth muscle changes vessel diameter to control tissue perfusion. Capillaries have a single-cell wall, giving a short diffusion distance for oxygen, carbon dioxide, nutrients and metabolic wastes. Their narrow diameter slows flow and brings red blood cells near the wall. Veins have wider lumens and operate under low pressure; skeletal-muscle contractions and valves assist venous return, particularly from the lower limbs.')
add_para('Red blood cells, also called erythrocytes, transport oxygen from the lungs to tissues and assist carbon dioxide transport back to the lungs. Their main component is haemoglobin, an iron-containing protein that binds oxygen reversibly. In the lungs, where oxygen partial pressure is high, haemoglobin loads oxygen. In metabolically active tissues, where oxygen partial pressure is lower and carbon dioxide is higher, it releases oxygen.')
add_para('Their biconcave disc shape provides a large surface-area-to-volume ratio for rapid diffusion. The thin centre shortens diffusion distance. Mature red blood cells lack a nucleus and most organelles, leaving more space for haemoglobin. They also lack mitochondria and therefore do not consume the oxygen they transport. Flexibility allows passage through capillaries narrower than their resting diameter (OpenStax, 2023).')

add_heading('4. Structure and function of the respiratory system')
add_para('The respiratory system conducts air to the gas-exchange surfaces of the lungs and removes carbon dioxide. Air usually enters through the nose or mouth. The nasal cavity warms, filters and humidifies inspired air. Air then passes through the pharynx, larynx and trachea. The trachea is supported by C-shaped cartilage rings that prevent airway collapse.')
add_para('The trachea divides into right and left primary bronchi, which enter the lungs. Repeated branching forms smaller bronchi, bronchioles, terminal bronchioles and respiratory bronchioles. These end in alveolar ducts and alveoli. The lungs are covered by pleural membranes. Pleural fluid between the visceral and parietal pleura reduces friction as the lungs move during breathing.')
p=doc.add_paragraph(); p.alignment=WD_ALIGN_PARAGRAPH.CENTER; p.add_run().add_picture(resp_img,width=Inches(5.6)); doc.add_paragraph('Figure 2. Labelled diagram of the respiratory system.',style='Figure Caption')
add_para('Inhalation is active. The diaphragm contracts and flattens while the external intercostal muscles lift the ribs upwards and outwards. Thoracic volume increases, reducing intrathoracic pressure below atmospheric pressure. Air moves into the lungs down this pressure gradient. During quiet exhalation, the inspiratory muscles relax. Elastic recoil of the lungs and chest wall reduces thoracic volume, increasing intrapulmonary pressure and moving air out. During exercise or forced expiration, the internal intercostal and abdominal muscles actively decrease thoracic volume further.')

add_heading('Alveolar gas exchange and diffusion',2)
add_para('Alveoli are microscopic air sacs surrounded by dense capillary networks. They provide a large surface area for gas exchange. Each alveolus has a very thin wall, principally made of type I alveolar epithelial cells. Capillary walls are also only one cell thick, creating a short alveolar-capillary diffusion distance. Type II alveolar cells make surfactant, which lowers surface tension and helps prevent alveolar collapse.')
add_para('Gas exchange occurs by simple diffusion: molecules move from an area of higher partial pressure to one of lower partial pressure. Oxygen partial pressure is higher in alveolar air than in deoxygenated pulmonary capillary blood, so oxygen diffuses into blood and binds to haemoglobin. Carbon dioxide partial pressure is higher in pulmonary capillary blood than in alveolar air, so it diffuses into alveoli and is exhaled. Fick’s law states that diffusion increases with surface area and the partial-pressure gradient, but decreases as membrane thickness rises. The lungs are adapted to this law through millions of thin-walled alveoli and continuing ventilation and perfusion, which maintain steep gradients (Hall, 2021).')

add_heading('5. Exercise, ventilation and homeostasis')
add_para('At rest, ventilation maintains relatively stable arterial oxygen, carbon dioxide and pH. During exercise, working muscles require more ATP, consume more oxygen and produce more carbon dioxide. Ventilation rises through increases in tidal volume, the volume of each breath, and respiratory rate. Minute ventilation equals respiratory rate multiplied by tidal volume.')
add_para('Initially, neural signals from the motor cortex and sensory input from working muscles stimulate respiratory centres in the medulla. As exercise continues, increased carbon dioxide and hydrogen ion concentrations are detected by chemoreceptors. Central chemoreceptors respond mainly to carbon dioxide-related changes in cerebrospinal-fluid pH; peripheral chemoreceptors in the carotid and aortic bodies respond to changes in oxygen, carbon dioxide and pH. Increased ventilation removes excess carbon dioxide and helps limit acidosis. At the same time, cardiac output increases through increased heart rate and stroke volume. More oxygenated blood reaches active skeletal muscles and more carbon dioxide returns to the lungs. These coordinated adjustments illustrate homeostasis because stable internal conditions are maintained despite greater metabolic demand.')

add_heading('6. Case study: Asthma')
add_para('Asthma is a chronic inflammatory airway disease characterised by variable respiratory symptoms and variable expiratory airflow limitation. Symptoms include wheeze, breathlessness, chest tightness and cough. Common triggers include allergens, viral infection, cold air, smoke, pollution and exercise.')
add_para('A hypothetical case concerns Amelia, a 21-year-old university student with childhood eczema and seasonal allergic rhinitis. She reports intermittent wheeze, nocturnal cough and breathlessness when running. Symptoms worsened after a viral upper-respiratory infection. Spirometry shows reduced expiratory airflow with significant improvement following a bronchodilator, supporting an asthma diagnosis.')
add_para('In asthma, airway inflammation causes bronchial smooth-muscle constriction, mucosal swelling and increased mucus production. These changes narrow bronchi and bronchioles. Resistance rises sharply as airway radius falls. Expiration is particularly difficult because small airways narrow further as intrathoracic pressure increases, producing air trapping, hyperinflation and breathlessness.')
add_para('Asthma can disrupt ventilation and gas exchange. Some alveoli may receive inadequate ventilation despite maintained blood flow, causing ventilation-perfusion mismatch. Mild or moderate attacks often cause low carbon dioxide because the person hyperventilates. In severe asthma, fatigue and increasing obstruction can cause carbon dioxide retention, a serious sign requiring urgent assessment. Thus, asthma impairs the respiratory part of cardiopulmonary function and, during a severe attack, may increase the workload of the cardiovascular system.')
add_para('Amelia’s management should include education on trigger avoidance, correct inhaler technique and a personalised asthma action plan. Reliever bronchodilators relax airway smooth muscle and provide rapid symptom relief. Inhaled corticosteroids reduce airway inflammation and lower exacerbation risk. Treatment should be reviewed regularly because control and adherence can change. NHS guidance identifies inhaled medicines as the main treatment and stresses correct technique and routine review (NHS, 2025). An umbrella review indicates that appropriately managed exercise may improve fitness and quality of life in people with asthma, although exercise-induced symptoms require good underlying control and an individual plan (Huang, Yang and Ma, 2025).')

add_heading('7. Conclusion')
add_para('The cardiovascular and respiratory systems are interdependent. The heart generates pressure to circulate blood through pulmonary and systemic circuits, while arteries, capillaries and veins enable distribution, exchange and venous return. Red blood cells are specialised for oxygen transport. The respiratory system conducts air to alveoli, where diffusion across a thin alveolar-capillary membrane exchanges oxygen and carbon dioxide. During exercise, ventilation and cardiac output rise to preserve oxygen delivery, carbon dioxide removal and acid-base balance. Asthma demonstrates how airway inflammation, bronchoconstriction and mucus production impair ventilation and disrupt normal gas exchange.')

add_heading('Reference List')
refs=['Hall, J.E. (2021) Guyton and Hall textbook of medical physiology. 14th edn. Philadelphia: Elsevier.','Huang, F., Yang, S. and Ma, M. (2025) ‘Effects of physical exercises in asthma: an umbrella review of systematic reviews and meta-analysis’, Clinical Respiratory Journal, 19, e70075. doi: 10.1111/crj.70075.','NHS (2025) Asthma. Available at: https://www.nhs.uk/conditions/asthma/ (Accessed: 23 October 2026).','OpenStax (2023) Anatomy and Physiology 2e. Houston, TX: OpenStax, Rice University. Available at: https://openstax.org/details/books/anatomy-and-physiology-2e (Accessed: 23 October 2026).','Tortora, G.J. and Derrickson, B. (2021) Principles of anatomy and physiology. 16th edn. Hoboken, NJ: Wiley.']
for ref in refs:
    p=doc.add_paragraph(ref); p.paragraph_format.left_indent=Inches(.25); p.paragraph_format.first_line_indent=Inches(-.25); p.paragraph_format.line_spacing=2

# footer page field
for sec in doc.sections:
    footer=sec.footer.paragraphs[0]; footer.alignment=WD_ALIGN_PARAGRAPH.CENTER
    footer.add_run('Cardiovascular and Respiratory Systems Report | Page ')
    fld=OxmlElement('w:fldSimple'); fld.set(qn('w:instr'),'PAGE'); footer._p.append(fld)

doc.save(OUT)
print(OUT)
Running Command

python3 "/tmp/workspace/cardiopulmonary-report/src/create_report.py" && python3 -c "from docx import Document; p='/tmp/workspace/cardiopulmonary-report/output/Cardiovascular_and_Respiratory_Systems_Report.docx'; d=Document(p); print('paragraphs=',len(d.paragraphs),'tables=',len(d.tables)); print('first=',d.paragraphs[0].text); print('last=',d.paragraphs[-1].text)"

Running Command

python3 -c "from docx import Document; p='/tmp/workspace/cardiopulmonary-report/output/Cardiovascular_and_Respiratory_Systems_Report.docx'; d=Document(p); text=' '.join(x.text for x in d.paragraphs)+' '+' '.join(' '.join(c.text for c in r.cells) for t in d.tables for r in t.rows); print('words',len(text.split())); print('exists',__import__('os').path.getsize(p))"

The completed double-spaced Word document includes labelled diagrams, a vessel comparison table, asthma case study, conclusion and Harvard-style references.

Cardiovascular and Respiratory Systems Report

Word Document · DOCX

This is a shared conversation. Sign in to Orris to start your own chat.