Thats the fence that separates Mellila from Morocco.
Melilla, a town along the border between Morocco and Spain, and one of the key crossing routes for African migrants trying to get into the 'promised land' of Europe.
Melilla, along with
Ceuta, is one of two permanently inhabited Spanish cities in mainland Africa. It was part of
Málaga province until 14 March 1995 when the city's
Statute of Autonomy was passed.
Melilla, like Ceuta, was a free port before Spain joined the European Union. As of 2011, it had a population of 78,476 made up of ethnic Spaniards, ethnic Riffian Berbers, and a small number of Sephardic Jews and Sindhi Hindus. Both Spanish and Riffian-Berber are the two most widely spoken languages, with Spanish as the only official language.
Melilla is officially subject to a territorial claim along with the city of Ceuta.
https://en.wikipedia.org/wiki/Melilla_border_fence