What purpose did it serve? I’m guessing military lookout/fortification? It looks like a lighthouse, but the top is wrong, even for the ancient kind that predates glass.
History Ruins
What is a ruin? We’re running off of “You know it when you see it” at the moment. Ruins should be non-functioning structures of some age, or their function reduced to tourism and the like.
Generally speaking, specific items from a ruin should go to [email protected]
Illustrations of ruins (or their reconstructions) should go to [email protected]
Photos of ruins back when they were functioning should go to [email protected]
Otherwise known as "The Light Tower," it stands in Mogadishu near the shore. Wikipedia says it was built for defense, so one could surmise that it was probably a bit of both, defensive lookout and lighthouse.
This is just supposition, but my guess is primarily administrative.
To be military it would need an enclosed fort to overlook, which may have existed I guess.
A busy port would need a vantage point from whence to see boats and caravans arriving and departing, a place to store duties collected, barracks for your ~~thugs~~ tax collectors.
A lighthouse just might not have been necessary depending on the style of shipping that was taking place.
What I've seen around is that it is a lighthouse, but I don't know how reliable that claim is or the details of it. Sadly, African history is understudied in general, and difficult to find even online. Especially with the enshittification of search engines.
minaret?