The SUM function is used to add, and or subtract, a range of cells together.
Very simply it adds up all the numerical values for ex if there are values 1,2,3,4,5, if you use sum function it will add the numbers and gives the output as 15