0 / 60 seg.

What is the purpose of the following code segment?

int sum = 0;
for (int i = 0; i < values.length; i++) {
    sum += values[i];
}