How exactly does 5th place work this season, I’ve heard it being said it depends on how the English team do in the campions league, what does that mean?

2 teams are out you’d imagine Man City will get to the semis at least, Arsenal could get to the semis as well, if they do, will that mean CL place for 5th place if the do?