The light is made by a small light bulb. In the 20th century, it was usually an incandescent bulb. Nowadays most use LEDs, which work slightly differently. In 1896, the first dry cell battery was invented. Unlike previous batteries, it used a paste electrolyte instead of a liquid. This was the first battery suitable for portable electrical devices, as it did not spill or break easily and worked in any orientation. Sometimes the electricity comes from a small generator instead of a battery.