Why Capacitors go bad

OK guys how can you tell which wire is what.