Subgroup analyses are performed to understand the heterogeneity of effects within a population. They help in identifying specific groups that may benefit more or less from an intervention, which can lead to more tailored and effective public health strategies. Additionally, they can uncover disparities in health outcomes among different demographic groups, guiding targeted interventions.