In the Lightning Network, preimages have a pivotal role in securing payments, specifically within Lightning invoices and Hashed Time Locked Contracts (HTLCs).