Who was the lyricist and who was the composer for the Gilbert and Sullivan operettas?

W. S. Gilbert wrote the lyrics and Arthur Sullivan wrote the Gilbert and Sullivan operettas.