An electric eel swam in the ocean and electrocuted things until it died of the eel flu. Its remains decayed and were covered in sediment over many years. The sediment layers compacted over time, compressing the eel remains into a fossil. Eventually, a paleontologist excavated the fossilized eel.