Doomsday is an alien created as the ultimate weapon, but it was flawed. It could not distinguish friend from foe, so it attacked everything. It was imprissoned on Earth until it was released and was killed by Superman at the cost of Superman's own life.