What is a Mandrel used for

What is a Mandrel used for