What has two ends but no beginning?

A rope