What Is Itikaf

Itikaf in the mosque is one of the types of worship in Ramadan with the purpose of purifying the heart, dedicating oneself to serving the Almighty. It is observed during the last 10 days of fasting. What types of Itikaf exist and what are the conditions for its implementation?