Final answer:
Magnetic swipe cards are primarily used to gain access through an electronic access system, leveraging electromagnetic induction to transfer data stored on the magnetic strip.
Step-by-step explanation:
The main purpose behind magnetic swipe cards, like those found on credit cards and driver's licenses, is A. Gain access though an electronic access system. These cards contain a magnetic strip that stores various forms of data which can be read by swiping the card through a reader. The process of reading and writing this information involves electromagnetic induction, which allows for the transfer of data without physical contact between the card and the reader. The data stored typically includes information needed to authenticate or authorize access to a secured area or electronic system.