A guitar is a stringed musical instrument played by strumming or plucking, commonly used in a wide range of music genres for rhythm, melody, and harmony.