Apple has purchased the rights to "Carpool Karaoke," the popular television segment from The Late Late Show With James Corden. The tech giant will debut the series on its streaming service, as it attempts to attract a young, hip crowd onto the platform.

The move could help Apple gain customers from streaming giants Spotify AB and Netflix.

CBS Television Studios announced the licensing deal earlier this week. The series will consist of 16 episodes. The terms of the deal were not disclosed, and it's unlikely that James Corden will serve as host.

"Carpool Karaoke," which has racked up more than 830 million views on YouTube since launching in 2015, features celebrities singing along to popular songs in a car, driving through places that are "meaningful" to them. (A recent clip of Michelle Obama, for instance, involved host James Corden getting a private tour of the White House grounds. The clip has generated more than 33 million views on YouTube since airing just last week, and includes a guest appearance by musician Missy Elliott.)

The series, which received an Emmy nod this year, will continue to run on The Late Late Show.

"We love music, and 'Carpool Karaoke' celebrates it in a fun and unique way that is a hit with audiences of all ages," said Eddy Cue, Apple's senior vice president of internet software and services. "It's a perfect fit for Apple Music -- bringing subscribers exclusive access to their favorite artists and celebrities who come along for the ride."

CBS Television Studios and Fulwell73, a production startup based in London, will produce the series.  

"We couldn't be more excited to be partnering with Apple Music on this exciting new series of 'Carpool Karaoke,'" said Ben Winston, co-founder of Fulwell73 and an executive producer on The Late Late Show. "The joy of Carpool is both the intimacy it creates, while seeing the love our passengers have for music. Where better to showcase that than with Apple Music?"

This isn't Apple's first foray into licensing celebrity content. It live-streamed Taylor Swift's "1989" concert special last December, for instance, and debuted "The Score," a music series from Vice Media, in March. Apple is also rumored to be working on a series called "Vital Signs" with Dr. Dre, who became an employee at the company when Apple purchased Beats Electronics, the audio products firm Dre co-founded with industry executive Jimmy Iovine, for $3 million last year.

Apple Music has around 15 million paid subscribers, and last month was reportedly in talks to acquire Tidal, the music streaming company owned by rapper Jay Z. Spotify, by contrast, counts more than 30 million subscribers.