When a charged particle enters a magnetic field perpendicularly, the magnetic force ($F = qvB$) acts as a centripetal force, continuously changing the direction of the particle's velocity, resulting in a circular path.