Electricity can flow only if there is a complete circuit from the battery through wires to components and back to the battery again.
A capacitor stores electric charge. It can be used with a resistor in a timing circuit, for smoothing a supply (it provides a reservoir of charge) and can be used as a filter (blocking DC signals but passing AC signals). Unpolarised capacitors usually have small values, less than 1µF.
Transistor PNP A transistor amplifies current and can be used with other components to make an amplifier or switching circuit. This symbol is for a bipolar junction transistor (BJT), the type you are most likely to use at first.