Any two conductors can act as an inductor, with a changing current in one producing a changing magnetic field in the vicinity of the other, then inducing a current and voltage in it.
Any wires or component leads that have current flowing through them create magnetic fields. These magnetic fields can induce voltages and currents in other wires or components. In this way, an inductance is created, called a stray inductance. Stray inductance is unavoidable, and it is desirable to minimise it. Designers minimise stray inductance by minimising lengths of wires and grouping components.