1. Visible sunlight is actually multiple wavelengths of light, each with its own color.
2. Visible sunlight is actually multiple wavelengths of light and each with its own color.
Why is sentence 1 correct? I thought they are the same thing gramatically?