So, I've just finished the entire Lost series, and I understand most things, except I was just wondering if the all the characters were dead on the island the whole time? Was the island representative of a limbo or something?

At first I thought it was all real and that they were alive, but now I'm slightly unsure?