how to make a power connection rotate

I have a crazy idea of making a cotton candy machine but I am wondering how I could power the heating element I’ll be enclosing in the bowl. Is ther some sort of way to power an object that is rotating?

Thanks

slip rings or mercury based connectors