Statistical tests can be used to analyze data in two main ways: descriptive statistics provide an overview of data attributes, while inferential statistics assess how well data support hypotheses and generalizability. There are different types of tests for comparing means and distributions between groups, determining if differences or relationships exist in parametric or non-parametric data. The appropriate test depends on the question being asked, number of groups, and properties of the data.