Wiring a ceiling light fixture. Too many ceiling wires!
If it isn't labelled, and isn't color coded, you will need to use a meter and do a lot of experimentation with the switches and circuit breakers to figure out what's going on. This is somewhere between annoying, messy, and dangerous if you don't know what you're doing.

If you need to ask this question I STRONGLY recommend that you bring in someone more experienced to deal with this. You are not looking at a homeowner-friendly situation.