Who composed the music and who wrote the words to the opera cosi fan tutte?

Wolfgang Amadeus Mozart composed the music and Da Ponte wrote the libretto or words