What is the use of sum

why we are using sum for?