Can someone explain i,v pairs?

I have, absolutely no idea how to do this.

I’m a noob scripter (transitioning from builder to scripter) and I haven’t learnt i,v in pairs, this is VERY confusing. Sorry if this is a short bio but that’s all I can think of.

local tab = {
1,2,3,
First = 1,
Seconds = 2,
"Hi",
"Hello"
}

for v, i in pairs(tab) do
print("Index: " .. v, "Value: " .. i)
end

Output:

Index: 1 Value: 1
Index: 2 Value: 2
Index: 3 Value: 3
Index: 4 Value: Hi
Index: 5 Value: Hello
Index: Seconds Value: 2
Index: First Value: 1

Wait no i just figured out. Thanks alot i’ll mark it as the solution!