The EDgun Leshiy 2 utilizes magnets in its magazine system to ensure secure pellet retention and facilitate smooth operation. These magnets hold pellets firmly within the quick-load magazine, preventing them from falling out during handling or movement.