Here's why Kate Middleton and Prince William were hanging out with Camila Cabello

Kensington Palace shared photos from an event that Kate Middleton and Prince William hosted earlier this month, and pop star Camila Cabello was there to help them celebrate a group of inspirational young people.

The Duke and Duchess of Cambridge welcomed the "Havana" hitmaker and the 2019 Radio 1 Teen Heroes to the palace as part of a 10-year tradition.

"Now in its tenth year, @bbcradio1’s Teen Awards is the biggest teen event in the pop music calendar and shines a light on some of the UK’s most inspirational teens, seeing them crowned Teen Heroes of 2019 in front of an audience of 14-17 year-olds," the Kensington Royal caption read. "This is the fourth consecutive year that Radio 1’s Teen Heroes have been honoured with an invitation to the Palace. The ten finalists were greeted by The Duke and Duchess, who praised them for their inspirational work and their dedication to helping others."

In the three photos taken at the event that were posted to Instagram, Kate and William can be seen mingling with some of the honorees, with William wearing a blue suit and Kate opting for L.K. Bennett's "Gabrielle Coral" dress. In another photo, the whole group poses together, where Cabello is seen with her arms around two of the award recipients in a long-sleeved yellow dress.

"I was so honored to be invited to Kensington Palace to meet and celebrate this year’s Teen Hero finalists with the Duke and Duchess of Cambridge," Cabello said in a statement to the Belfast Telegraph. "Hearing the incredible things these Teen Heroes have done is so inspirational. Their passion and dedication to help others is amazing and they really blew me away."

Kate and William sharing the photos follows their 5-day royal tour of Pakistan.