A string quartet is an ensemble of two violins, a viola, and a cello, or a composition written for that group.