I have a string of LED lights. 50 bulbs in the string. 3 wires. Along the string, in 3 or 4 places, are these things that resemble bulb sockets, but are plugged solid. Can you tell me what they are? Resistors, perhaps?

What I want is to shorten the string of lights to fewer than 10 bulbs, but I have no idea what would be required, as I am assuming that each bulb isn’t using 120 VAC.