Histograms are used to show distributions of variables while bar charts are used to compare variables. Histograms plot quantitative data with ranges of the data grouped into bins or intervals while bar charts plot categorical data. This post expands on these differences and mentions several other differences between histograms and bar charts.
histogram
bar chat