A synthesizer is a musical instrument that electronically generates sounds, often using a keyboard. Synthesizers can mimic traditional instruments such as pianos and strings or create entirely new and unique sounds. They are the basis of many modern musical styles, including electronic, pop and rock music.