Sea foam looks fun, but where does it come from?

What causes that playful-looking sea foam? Nathan Coleman dives in to find out.