Madrid and PSG will also meet Club Brugge and Galatasaray in Group A, with the action set to get underway on September 17 and 18, while the final will be played in Istanbul on May 30.
Liverpool's attempt to defend their title will see Jurgen Klopp's Reds come up against Napoli, Salzburg and Genk in Group E.
Meanwhile, beaten finalists Tottenham are in Group B with Bundesliga champions Bayern Munich, as well as Greek giants Olympiacos and Red Star Belgrade.
Perhaps the most open is Group G, where Russian champions Zenit are in with Benfica, Lyon and RB Leipzig.
Manchester City, among the favourites for the tournament, take on familiar foes in the form of Shakhtar Donetsk, along with Dinamo Zagreb and tournament debutants Atalanta in Group C.