Extra wires to a light fixture are dangerous. It can cause electrical shock when having contact to people therefore it must be guarded to avoid physical contact.
Chat with our AI personalities
If you mean 2 bare copper wires those are the ground wires. Tie them together and then connect the light fixture ground wire which will be green or bare copper to those ground wires.
To install a new fixture to replace the one that was removed reconnect the two hot wires together and then reconnect the two neutral wires together. Place the two wires from the new fixture to the corresponding wire colours that you just spliced together. This wiring should be down stream from the light switch. When the switch is turned on the new fixture should light. If this is not the scenario of your question then more information needs to be given.
If both wires are black then the one with the writing is the neutral wire. If the two wires are black and white then the white one is the neutral.
If these are all the wires you have then this would be a great assumption. It assumes also that everything before the fixture is wired correctly and with commonly used color schemes.
If you are adding the pull chain to an existing fixture then the pull chain switch should have two wires. Wire nut either one to the hot wire coming in and the other to the black wire of the fixture.