Nature, Published online: 21 January 2025; doi:10.1038/d41586-024-04243-y

The two professions can face similar gender-based challenges in recruitment and retention, says workforce modeller Alison Leary.