Obtaining/ Being obtained/ To obtain pure lead, the lead ore is mined, then smelted.


I think the proper word for this sentence is 'to obtain'.

Then, the subject of main clause and the subject of adverbial phrase is different.

How do I explain this to my students?