What were the working conditions of sweatshops in the 1800s?

The working conditions were horrible...yah..