The concept of digital twins has a long history in engineering, where the creation of digital copies of machines or systems allows performance testing and fine-tuning without the cost of rebuilding the original for each round of changes. But in recent years, new applications of digital twins have proliferated, underpinning products and services in medicine, energy, planning and other sectors.