Oxygen is an oxidising agent and it gains two electrons... so yeh, the one which gains electrons.
Edit: Lol, I've forgotten so much chem I just realised. I'm starting again this session too.
OIL RIG. Reduction is gain, so the one that gains electron is being reduced, hence it's the oxidising agent. Hey, I was right!