Difference between for i,v in pairs and for i, val in next, table?

What is the difference between the two following?

local array = {"Hello","World"}

for i,v in pairs(array) do
    print(v)
end

and

local array = {"Hello","World"}

for i,v in next,array do
    print(v)
end

Is one of them better than the other, because they both yield the same result.

Have you searched up the forum?

I have but and did not see that post, but that does solve my problem.