Long-duration gamma-ray bursts (long-duration GRBs) are a class of gamma-ray bursts that last for more than 2 seconds, in contrast to short-duration GRBs which last less than 2 seconds. These long-duration GRBs are thought to be associated with the deaths of massive stars and the formation of black holes.