What am I?

What has a head and a tail, but no body or legs?