how do rotating signs work

You know those signs like at “in ‘n’ out” burger (it’s only in california I think). Anyway, it’s a big sign rotating at the top of a pole, but it’s lighted, how do they connect the wire to the light, wouldn’t it get tangled while it’s spinning?

Thanks for any help, I’m baffled

The answer is hidden within here. Next-to-the-last paragraph.

Does the mounting pole rotate, or just the sign on top? If it’s just the sign that rotates, the light inside doesn’t have to rotate. I have a globe like that at home. If the pole rotates as well, then as Punoqllads said it probably uses a sliding contact. Just a spring-loaded contact pressed against a ring on the rotating pole would work fine.