The NBA Summer League requires lots of practice space for the 30 teams, and local high schools take on the invaluable role of hosting them.
Original article: https://www.reviewjournal.com/sports/basketball/nba-summer-league/local-high-schools-help-host-summer-league-teams-2605209/