Can someone help me to understand the purpose of null hypothesis testing?

It leads to finding out if the mean for one group is essentially the same as the mean for another. Are they two samples of essentially the same group? Or do they indicate two different groups?