Afghanistan is a multilingual country in which two languages – Dari and Pashto – are both official and most widely spoken.

Dari is the official name of the variety of Persian language spoken in Afghanistan. It is often referred to as the 'Afghan Persian'. Although still widely known as Farsi to its native speakers, the name was officially changed to Dari in 1964 by the Afghan government.

According to the CIA World Factbook, Afghan Persian or Dari (official) (Dari) was spoken by 77% (L1 + L2) (functions as the lingua franca), Pashto by 48%, Uzbek 11%, English 6%, Turkmen 3%, Urdu 3%, Pashayi 1%, Nuristani 1%, Arabic 1%, and Balochi 1% (2017).

More Info: en.wikipedia.org