xbox 360 and xbox one

my son wants a new xbox for Christmas. I was thinking of buying him an xbox one. he said he wants to play games with his friends (online ) and play games which his friends have shared with him ( games he doesn't have ).

his friends might still have the xbox 360 though. will my son be able to play 360 games on a one, or play shared 360 games with his friends.?