Complex sentence: It was a dangerous task as they had to be close to the target in order to give accurate reports and several men of the 20th were killed or wounded due to misfires or faulty ammunition.
Split into simpler sentences: It was an incredibly dangerous task because in order to give accurate reports, they had to be very close to the target. Several men of the 20th were wounded/killed due to misfires or faulty ammunition.