Difference between plt.bar and sns.barplot

What is the difference between plt.bar and sns.barplot. I did not understand it properly. Does plt.bar take the average of the values to draw bar graph or does it take sum and if it takes average what makes it different from sns.barplot