Name and why it is called so
Fatiha means "the opening." The written Quran begins with it, and so does the recitation in prayer, which is why it is called Fatihat al-Kitab (the Opening of the Book). Authentic hadith give it several other names as well: Umm al-Quran (the Mother of the Quran), al-Sab' al-Mathani (the seven oft-repeated verses), and al-Quran al-'Azim (the Magnificent Quran). In a hadith qudsi in Sahih Muslim, Allah refers to this surah as "the prayer" (al-salah), and Sahih al-Bukhari mentions it being recited as ruqyah (healing recitation). Every Muslim should know the meaning of Surah Al-Fatiha so that he can understand what he recites in prayer.
Time of revelation and background
According to most scholars, Surah Al-Fatiha is a Meccan surah. One clear proof is that in Surah Al-Hijr, which is Meccan, Allah says that He has given the Prophet ﷺ the seven oft-repeated verses and the Magnificent Quran, and in a hadith of Sahih al-Bukhari the Prophet ﷺ explained that these seven verses are Surah Al-Fatiha. Some scholars said it is Medinan, but the stronger view is that it is Meccan. The prayer had already been made obligatory in Mecca, and there is no prayer without this surah, which also supports this view.
Main themes
The surah opens with the name of Allah and His praise: He is the Lord of all the worlds, the Most Gracious, the Most Merciful, and the Master of the Day of Recompense. These opening verses lay the foundation of belief in Allah's lordship, His names and attributes, and the Hereafter. Then the servant declares: You alone we worship, and You alone we ask for help. This verse sums up tawhid in worship: every form of worship is for Allah alone, and help that no one but Allah can give is to be asked from Him alone.
At the end, the servant is taught the most important prayer: guidance to the straight path, the path of those whom Allah has blessed, not of those who earned His anger, nor of those who went astray. In this way, this short surah is a complete summary of the core themes of tawhid, the Hereafter, worship and guidance. According to a hadith qudsi in Sahih Muslim, when a person in prayer recites its verses, Allah answers each verse. So understanding the tafsir of Surah Al-Fatiha and reciting it with that understanding is a great means of humility and focus (khushu') in prayer.