In the Lightning Network, a preimage is a data string that is passed into a hash function. Preimages are also referred to as 'secrets'. Possession of the relevant preimage allows users to claim HTLCs, which are a core process in the routing of payments between nodes.