If you're asking this question you shouldn't be installing an electrical service of any kind.
This type of question usually means you aren't ready to do this work yet. Study some electrical textbooks and the National Electrical Code and work the answer out for yourself, or call a professional electrician.
If someone were to give you an answer here, you might attempt to do something you shouldn't be doing, and that may cost someone a shock, a home fire, or their life.
IF YOU ARE NOT ALREADY SURE YOU CAN DO AN ELECTRICAL WIRING JOB
SAFELY AND COMPETENTLY
REFER THIS WORK TO QUALIFIED PROFESSIONALS.
If you do this work yourself, always turn off the power
at the breaker box/fuse panel BEFORE you attempt to do any work
AND
always use an electricians test meter having metal-tipped probes
(not a simple proximity voltage indicator)
to insure the circuit is, in fact, de-energized.
Without knowing where the wires go and what their intended purpose is, any suggestion would be a guess.
I suggest you call an electrician to have it fixed for you.
The red and black wires are Line wires in a 3 wire service and includes a common (neutral) wire.
To the black wire on the fixture.
That depends on where the other end of the wire goes.
You have a 3 way switch. Your black wire is the hot wire. Your green wire is the ground wire. Your red and white wires go to the light and other switch. You should have gotten a wiring diagram with your switch.
Red wire=positive Black wire=negative
The red wire is Positive, (+) and the Black wire is Negative. (-)
The black wire goes to the brass colored screw and the white wire goes to the silver screw.
The red and black wires are Line wires in a 3 wire service and includes a common (neutral) wire.
There are probably dozens of black and white wires under the hood. It is a normal color for a ground wire. With out knowing where it or the green wire go, I can not answer.There are probably dozens of black and white wires under the hood. It is a normal color for a ground wire. With out knowing where it or the green wire go, I can not answer.
To the black wire on the fixture.
That depends on where the other end of the wire goes.
red to pos black to neg
You have a 3 way switch. Your black wire is the hot wire. Your green wire is the ground wire. Your red and white wires go to the light and other switch. You should have gotten a wiring diagram with your switch.
The thick black wire is the negative which should be connected to the frame of the ATV (negative ground). The red wire comes from the battery positive terminal and should go to the start solenoid From the other side of start solenoid a red wire of the same size as the black one should go to the starter.
no sparking fanThe white wire from the fan to the white wire from the ceiling get wire nutted together.The black and blue wire from the fan go to the black wire from the ceiling and all 3 get wire nutted together. Lastly the green wire from the fan and the bare copper wire from the ceiling get wire nutted together. 90% of fans are wired this way.
Take the ignition wire apart from there take a jumper wire and go from the red to the black
Red wire=positive Black wire=negative