The country that borders Namibia, Botswana, Zimbabwe, Mozambique, Swaziland, and Lesotho is South Africa.
South Africa occupies the southern tip of the African continent and has six land neighbors: Namibia to the northwest, Botswana and Zimbabwe to the north, Mozambique and Eswatini to the northeast, and Lesotho entirely enclosed within its territory. The question uses “Swaziland,” the country’s former name; it officially changed to Eswatini in 2018.
Lesotho is the standout geographic fact. It is an independent, landlocked kingdom completely surrounded by South Africa, making South Africa one of the few countries in the world to fully enclose another sovereign state. South Africa also has coastlines on both the Atlantic and Indian oceans.
A common mix-up is confusing Eswatini with Botswana or assuming Lesotho borders several countries. Lesotho’s only international border is with South Africa, while Eswatini borders South Africa and Mozambique.