Oh! Thanks, that's really helpful.
Ihnen is also them. so why is it wrong if i put. he eats lunch with them
Because "Ihnen" is capitalised.
mit Ihnen = with you (formal)
mit ihnen = with them
but why is 'them' offered as a possible translation?
It's an error.