major cities called an "eruv" that is sort of a Jewish loophole that allows for a more regular way of life on the Sabbath.
Key quote here:
On the Sabbath, which is viewed as a day of rest, observant Jewish people aren't allowed to carry anything—books, groceries, even children—in public places (doing so is considered "work"). The eruv encircles much of Manhattan, acting as a symbolic boundary that turns the very public streets of the city into a private space, much like one's own home. This allows people to freely communicate and socialize on the Sabbath—and carry whatever they please—without having to worry about breaking Jewish law.
https://www.mentalfloss.com/article/91594/theres-wire-above-manhattan-youve-probably-never-noticed