(CNN)Mustapha Sallah was in trouble.
He had hoped to be in Europe by now, pursuing his dreams of studying computer science and making a better life for himself.
Instead, he was sitting in a Libyan detention center, having been detained in Tripoli by the Libyan Coast Guard.
"We were kept in rooms with little ventilation and no toilets. We would sit for days without taking baths. It was like hell," Sallah told CNN.
He added that officers at the detention center often assaulted them by "beating us for the slightest things like refusing to sleep."
It was January 2017, and the 25-year-old Gambian had taken a gamble, risking his life in search of a better one in Europe. But no one had warned him of the dangers ahead.
If and when he got out of the detention center, he vowed to help others make a more informed decision.
Migrating to Europe
Sallah grew up in Serekunda, southwest of The Gambia's capital city, Banjul. He said he worked hard in school to earn a scholarship so that his mother could retire from her job selling vegetables in the market.
In 2016, he thought he'd have that chance when he earned a scholarship to study computer science in Taiwan. "But there was no Taiwan embassy in Gambia, so I had to go to the closest one in Abuja, Nigeria," he explained.
After borrowing money from his sister to travel to Nigeria, he said he spent three months there before his visa application was denied. Three years earlier, then-president of The Gambia, Yahya Jammeh, had cut diplomatic ties with Taiwan for what he called "national strategic interest."
"I didn't know what to do: stay in Nigeria, or go to any other African country. At the end of the day, I got the mind of migrating (to Europe) because I know several people who took the journey and made it there," Sallah explained.
With a population of 2.3 million people, The Gambia is among the smallest countries in Africa. But despite its small size, migration is a fairly common practice and plays a key role in the country's economy.
According to the International Organization for Migration (IOM), overseas remittances for an average of 90,000 Gambians who live abroad make up more than 20% of the country's GDP.
48% of Gambians live in poverty, and many people find themselves looking outside the country for opportunities to improve their lives.
But some people leave the country without proper documentation or without crossing an official border point. Between 2014 and 2018, the IOM estimates more than 35,000 Gambians reached Europe through "irregular means."
"There's a tradition of mobility in Gambia. It's a long history of people using migration as a means of life, and of getting their income. Many of the returnees we have worked with claim they took the journey for economic reasons," Etienne Micallef, the IOM's program manager in The Gambia told CNN.
"They have the perception that if they migrate with the final destination as Europe, they will get a much better income to sustain themselves and their families back home," he added.