Both types use lead and sulfuric acid. In a gel battery, silica thickens the electrolyte into a gel. In a flooded battery, the electrolyte remains liquid and moves around the plates. This gives gel better tolerance of vibration and tilting, whereas flooded batteries generally need to stay upright.
Modern gel batteries are valve-regulated lead-acid (VRLA) batteries. They maintain a small internal pressure and release excess gas through a safety valve. Flooded batteries usually vent freely, and serviceable models need distilled water to replace losses. This is the basis for the usual distinction between serviceable and maintenance-free designs.