He wrote the librettos for 28 operas by 11 composers , including three of Mozart 's greatest operas , Don Giovanni , The Marriage of Figaro and Così fan tutte .
He is best known for having written the libretti for three of Mozart 's operas , The Marriage of Figaro , Don Giovanni , and Così fan tutte .