The electric guitar is a versatile instrument that can be used to play both rhythmic and melodic parts. In a typical band setting, the electric guitar is used to provide the rhythm guitar part, which is responsible for keeping time and providing a foundation for the other instruments. However, the electric guitar can also be used to play lead guitar parts, which are melodic and often improvised.
Some famous examples of electric guitarists who are known for their rhythmic playing include Chuck Berry, James Brown, and Jimi Hendrix. Some famous examples of electric guitarists who are known for their melodic playing include B.B. King, Eric Clapton, and Stevie Ray Vaughan.