A clip from Apple's new ad "First Dance." (Source:YouTube Still via Apple)

Apple is celebrating the legalization of same-sex marriage in Australia with a touching new ad for its iPhone X.

The ad, called "First Dance," is a compilation video of same-sex couples marrying and celebrating their love while the song "Never Tear Us Apart" by Australian indie singer Courtney Barnett plays. All of the footage scene in the clip was shot on the iPhone X.

Apple has long supported the LGBTQ community and LGBTQ rights. Time Cook, the CEO of the company, is openly gay.

Australia legalized same-sex marriage in December 2017 following a postal survey where 61.5% of respondents supported marriage equality.