Premier League champions Manchester City have been drawn to face Paris St-Germain in Group A of the Uefa Champions League.
German outfit RB Leipzig and Club Bruges complete the group after the draws were conducted on Thursday.
Holders Chelsea go up against Serie A giants Juventus, Russian club Zenit St Petersburg and Swedish side Malmo.
Manchester United face Villarreal, who beat them in last season’s Europa League final, as well as Italian club Atalanta and Swiss side Young Boys.
Six-time champions Liverpool are in a tough group with Atletico Madrid, Porto and AC Milan, while Bayern Munich will do battle with Barcelona, Benfica and Dynamo Kyiv in Group E.
Champions League Group Stage Draw
Group A: Manchester City, Paris St-Germain, RB Leipzig, Club Bruges
Group B: Atletico Madrid, Liverpool, Porto, AC Milan
Group C: Sporting Lisbon, Borussia Dortmund, Ajax, Besiktas
Group D: Inter Milan, Real Madrid, Shakhtar Donetsk, Sheriff Tiraspol
Group E: Bayern Munich, Barcelona, Benfica, Dynamo Kyiv
Group F: Villarreal, Manchester United, Atalanta, Young Boys
Group G: Lille, Sevilla, FC Salzburg, Wolfsburg
Group H: Chelsea, Juventus, Zenit St Petersburg, Malmo
This year’s Champions League final takes place at the St Petersburg Stadium in Russia on Saturday, 28 May.