In the UK Brown is the live, blue is the neutral and green/yellow is the earth.
The live and neutral are the two wires that normally carry the current.
No, it is not ok, it is potentially very dangerous because the two-wire cable has no earth with it. The earth wire is an important safety component that comes with a three-pin plug. An exception can be made for certain low-power appliances that have double insulation. This includes TV sets, radios, and table lights provided the mounting is plastic and not metal. These appliances are commonly sold with a twin-wire cable but often with a three-pin plug on the end of it. The three-pin plug in this case often has a plastic 'earth' pin and it is safe to replace it with a two-pin plug.
In an electrical socket, there are three holes. One is a hot wire, one is a neutral wire, and one is a ground wire. Usually, the hot wire is black. The neutral wire is white. And the ground wire is green. Motors usually have three pin plugs. Other items also have them. When a motor has a three pin plug, the body of the motor is attached to the ground. If a spark goes from the electrical wires to the body of the motor, it will go harmlessly to the ground and not hurt anyone. On a two pin plug, usually one pin is larger than the other. The larger pin goes to the neutral or white wire. It is also grounded. That way if there is an electrical short in the device, it should not electrocute the person using it.
UK answer only: Yes but you need a three-pin to two-pin adaptor. Alternatively fit a three-pin plug to the light and leave the earth pin disconnected. This can only be done if the lamp already has a two-wire cable fitted to it, anything else is potentially dangerous.
You don't, in theory, because the ground wire is missing. But if you must, cut the end of and add the new three pin plug, the two flat pins are for the two wires, the round is for the ground that is missing. If something has only two wires,say a light fixture, adding a plug that has the three is useless because the ground wire is missing, so it does not become safer just because you added it. If the end is bad,then you get a plug end that comes apart and is made for adding to a wire, do not cut wire,add another plug end by splicing it together with electric tape.
The earth wire, striped green and yellow, is connected to the terminal marked E; this should be the longest of the three wires so that it is the last to become detached if the cable is strained.The live wire (brown) is connected to the terminal marked L.The neutral wire (blue) is connected to the terminal marked N.
it is the brown wire in a three pin plug
On a UK three pin plug the two smaller prongs are Live (brown) and Neutral (blue). The Larger pin is for the Earth wire. This can prevent you getting an electric shock
it gives you an electric shock
No, it is not ok, it is potentially very dangerous because the two-wire cable has no earth with it. The earth wire is an important safety component that comes with a three-pin plug. An exception can be made for certain low-power appliances that have double insulation. This includes TV sets, radios, and table lights provided the mounting is plastic and not metal. These appliances are commonly sold with a twin-wire cable but often with a three-pin plug on the end of it. The three-pin plug in this case often has a plastic 'earth' pin and it is safe to replace it with a two-pin plug.
The earth wire.
In an electrical socket, there are three holes. One is a hot wire, one is a neutral wire, and one is a ground wire. Usually, the hot wire is black. The neutral wire is white. And the ground wire is green. Motors usually have three pin plugs. Other items also have them. When a motor has a three pin plug, the body of the motor is attached to the ground. If a spark goes from the electrical wires to the body of the motor, it will go harmlessly to the ground and not hurt anyone. On a two pin plug, usually one pin is larger than the other. The larger pin goes to the neutral or white wire. It is also grounded. That way if there is an electrical short in the device, it should not electrocute the person using it.
hot wire
The three pin plug is grounded (provided the receptacle is wired correctly).
UK answer only: Yes but you need a three-pin to two-pin adaptor. Alternatively fit a three-pin plug to the light and leave the earth pin disconnected. This can only be done if the lamp already has a two-wire cable fitted to it, anything else is potentially dangerous.
Would that be the smallest pin. To answer this question the specifications of the plug will be needed.
You don't. A 2 prong plug has two wires, one called live (black or red wire in the US) and the other is neutral (white or gray wire in the US). A 3 prong plug needs a third wire for ground (bare copper, green, or green-yellow in the US). The only time you can replace a 2 prong plug with a 3 prong plug is if the 2 prong plug incorrectly replaced an original 3 prong plug.
You don't, in theory, because the ground wire is missing. But if you must, cut the end of and add the new three pin plug, the two flat pins are for the two wires, the round is for the ground that is missing. If something has only two wires,say a light fixture, adding a plug that has the three is useless because the ground wire is missing, so it does not become safer just because you added it. If the end is bad,then you get a plug end that comes apart and is made for adding to a wire, do not cut wire,add another plug end by splicing it together with electric tape.