(i) When a battery is connected inseries to two long parallel wires, the currents in the two wires will be in opposite directions. Due to which a force of repulsion will be acting between them and they are moving further apart. (ii) When a battery is connected in parallel to two long parallel wires, the currents in the two wires will be in same direction. Due to it, a force of attraction will be acting between them and they are coming closer to each other.