What was the Catherine wheel originally used for?

It was originally named after Saint Catherine of Alexandria, who was condemned to be tortured on a wheel and died in the year 307.