what type of wave is light?

1. Mechanical
2. Electromagnetic