How scientists figured this out in a classic experiment.