What is a chain gang?

People working on a railroad