A short circuit occurs when a low-resistance path is created, allowing current to bypass other components and potentially causing damage.