What is optical bandwidth and electrical bandwidth
Light is part of the electro-magnetic spectrum: -



To the left is AC power and to the right are gamma rays and some cosmic rays. Somewhere in the middle is visible light. This is called the electro-magnetic spectrum and the optical spectrum for an optical device refers to the bandwidth (or range of colours) that it produces or is most sensitive to.

For an LED, how quickly you can "modulate" the light level with an electrical signal is related to the electrical bandwidth of the device. How fast a photodiode responds to modulations of light is also related to the electrical spectrum of the device.

Here is an expanded slice of the radio part of the spectrum: -



Somewhere approximately in this region is where the electical bandwidth limits for a given device will lie.