Gravitational waves, ripples in spacetime caused by massive and accelerating objects, are providing scientists with unprecedented insights into the properties of black holes, akin to a cosmic DNA test.