Write a Fibonacci series function and explain how it works.
Implement fibonacci(n), which returns a list containing the first n Fibonacci numbers, starting with 0, 1. For n = 0, return an empty list. Use an iterative approach and explain the update of the two previous values.
Input: A non-negative integer n.
Output: A list of the first n Fibonacci numbers.
def fibonacci(n):