A nuclear explosive is an explosive device that derives its energy from nuclear reactions. Almost all nuclear explosive devices that have been designed and produced are nuclear weapons intended for warfare.