A lightning detector is a device that detects lightning produced by thunderstorms. They generally only detect cloud-to-ground lightning.