Complex sentence: Children would usually work as trappers, this is where they had to open and close trap doors to allow mine carts in this made sure no harmful gases built up in the mine.
Split into simpler sentences: Children would usually work as trappers; this is where they had to open and close trap doors to allow mine carts in. This made sure no harmful gases built up in the mine.