Randomized controlled trials (RCTs) randomly separate experimental subjects into multiple groups, treat those groups differently, and compare the results. Most commonly, one group receives the treatment being tested, while the other receives a placebo or no treatment at all.
Karnofsky, Holden. 2016. How we evaluate a study. How GiveWell decides how much weight to place on an academic study.