Which Is Better SSD Or HDD?

Which is better 1TB HDD or 512GB SSD?

.

Is a 256GB SSD better than a 1TB hard drive?

Which lasts longer SSD or HDD?

Is SSD more reliable than hard drive?