NMA builds a network of comparisons from randomized controlled trials (RCTs) that have evaluated different treatments. By using both direct comparisons (from head-to-head trials) and indirect comparisons (inferred from trials with a common comparator), NMA can estimate the relative effectiveness of all treatments in the network. This method uses complex statistical models to ensure the results are robust and reliable.