Have you ever watched a basketball game and seen how the players work together, passing the ball and supporting each…