What is this condenser used for?

The one on the coil? That a radio noise suppression capacitor. Do not toss it they are hard to find oem.