What is Tartarus in Greek mythology? A deity or an everlasting prison?

In Greek mythology, Tartarus is a deep, dark abyss located beneath the underworld. It is both a deity and a place of punishment for the wicked. According to the myths,...