There was a songwriting duo a while back I think they were called Lennon and McCartney. They wrote a few songs together.

Who wrote the lyrics and who wrote the music? and which one could not play an instrument or hold a tune, or had no understanding of basic music composition?

It is not necessary to learn to play an instrument or the basic theory of song construction and recording etc.....BUT IT SURE HELPS.