Simply put, with fly sparging, you slowly add hot sparge water to your mash tun while lautering. The key is to slowly add to the tun at about the same rate you are lautering, with a goal of keeping a buffer of water above the grain.
In a batch sparge, you add some additional sparge water to your mash, stir your grain and lauter quickly. Ideally you would collect 1/2 of your total needed boil volume from this first sparge. You would then repeat this process with additional sparge water to obtain the rest of your wort for boil.
There are advantages to each and there are discussions here and other places of those in great detail.