Histograms are used to visualize the distribution of numerical data, showing the frequency of data points in different bins.