Image copyright Getty Images Image caption The couple are on their first official overseas trip as parents

The Duke and Duchess of Sussex ate traditional South African food and visited the country's oldest mosque on day two of their 10-day tour of Africa.

The royals visited the 225-year-old Auwal Mosque in Bo-Kaap, Cape Town, on South Africa's Heritage Day - a public holiday celebrating national culture.

Earlier, the couple visited a charity that works with surfers to provide mental health support for youngsters.

The tour is their first official overseas trip with their son, Archie.

Image copyright Reuters

Image copyright Getty Images

Image copyright Getty Images

Image copyright Reuters

On their trip to the mosque, Prince Harry and Meghan met with local faith leaders, including Imam Sheikh Ismail Londt and Muslim community leader, Mohamed Groenwald.

Meghan wore a headscarf to enter the mosque which was built in 1794 in Bo-Kaap district, which is known for its neon-coloured terraced houses.

Ahead of the visit, the royals were pictured eating at a local family's home.

Shaamiela Samodien, 63, told AFP: "We (are) used to cooking for big parties and family. So it's no effort.

"They tried koeksisters (a traditional South African sweet) and apple crumble."

Earlier, in the day the royals visited a beach in Cape Town to learn about a project helping vulnerable young people with their mental health.

The couple met surfing mentors at Monwabisi Beach to hear about the work of the NGO Waves for Change.

Harry and Meghan also learned about the non-profit Lunchbox Fund, which benefited from public donations after the birth of their son Archie.

Image copyright Reuters

Image copyright Reuters Image caption The duchess joined the NGO for a session on Monwabisi Beach

Image copyright Getty Images Image caption Prince Harry and Meghan met surf mentors and some of the young people they help

Image copyright Reuters Image caption Meghan embraced a member of the organisation

Waves for Change offers a mix of mind and body therapy as part of a child-friendly mental health service for vulnerable young people.

The organisation, which supports 1,200 children, is based in a collection of shipping containers close to the beach.

The Lunchbox Fund provides nearly 30,000 meals a day to the children on the programme, as well as schools.

Asked about the key issue in tackling the stigma around mental health, Meghan said: "It's just getting people to talk about it and talk to each other, right?

"And you see that no matter where you are in the world, if you're a small community or a township, if you're in a big city - it's that everyone is dealing with a different version of the same thing."

Prince Harry added: "Everyone has experienced trauma or likely to experience trauma at some point during their lives.

"We need to try, not to eradicate it, but to learn from previous generations so there's not a perpetual cycle."

Image copyright Getty Images Image caption The royals also learned about the work of the Lunchbox Fund

Image copyright Reuters Image caption Well-wishers got into the spirit of things ahead of the couple's arrival

He said a whole generation of children that had "no role models at all" was now being given an opportunity.

Monwabisi Beach is on the edge of one of South Africa's biggest townships, Khayelitsha.

During the visit, the couple joined 25 surf mentors in taking part in a welcoming chant.

Image copyright EPA Image caption A dancer performed ahead of the arrival of the couple in the Bo Kaap district of Cape Town

Image copyright EPA Image caption Megahn speaks to Jade Bothma, centre, and Hunter Mitchell before handing them an award at the British High Commissioner's residence in Cape Town

They ended the day meeting young people and community leaders at the city's residence of the British High Commissioner.

Their first day involved meeting teenage girls in the deprived Nyanga township and they spoke out about violence against women and children.