Energy Release and Particle Acceleration in Solar Flares with Respect to Flaring Magnetic Loops