Scooter drives but light doesn’t work

Hello everybody, I’m new here and I have a question. I drive a Gilera Runner c36, and the scooter is driving great. It’s not installed, so it’s still in its original condition. Yesterday evening I drove home and suddenly a lot of the light out, the scooter drove rusty on. Blinker, brake light and horn worked but taillight, dipped light and main light were out and didn’t go on. Did the taillight unscrewed today to see if the bulb is broken -No, Both wires in the people were fine. Where can the defect lie? According to a friend, the defect is probably due to the “real light” What, or wherever it is. Or can something have broken due to the cold? For advice and solutions to my problem, I say thank you!!!