Tottenham have been drawn against reigning champions Real Madrid and Borussia Dortmund in the Champions League group stage.
Spurs will be facing former player Gareth Bale, with Apoel also in the group.
In Group C, Chelsea will face Atletico Madrid, Roma and Qarabag.
Manchester United are up against Benfica, Basel and CSKA Moscow, while Liverpool are in Group E with Spatak Moscow, Sevilla and Maribor.
Celtic face a tough task after being drawn with Bayern Munich, Paris Saint-Germain and Anderlecht.
Manchester City will take on Shakhtar Donetsk, Napoli and Feyenoord in Group F
The opening games will take place on September 12 and 13 with the group phase running until early December and the knockout stages in 2018.
The top two from each group progress to the round of 16, with the draw taking place in December and games starting at that stage in February.
The Champions League final will be played in the Olympic Stadium in Kiev on May 26.
Groups Stage In Full
Group A: Benfica, Manchester United, Basel, CSKA Moscow
Group B: Bayern Munich, Paris St-Germain, Anderlecht, Celtic
Group C: Chelsea, Atletico Madrid, Roma, Qarabag
Group D: Juventus, Barcelona, Olympiakos, Sporting
Group E: Spartak Moscow, Sevilla, Liverpool, Maribor
Group F: Shakhtar Donetsk, Manchester City, Napoli, Feyenoord
Group G: Monaco, Porto, Besiktas, RB Leipzig
Group H: Real Madrid, Borussia Dortmund, Tottenham, Apoel
Group stage match days?
Match day one: 12-13 September
Match day two: 26-27 September
Match day three: 17-18 October
Match day four: 31 October-1 November
Match day five: 21-22 November
Match day six: 5-6 December