Answer:
The dust and gas that surround the formation of a new star block light making it hard to see any visible light.
We have learned a lot about star formation since the invention of detectors sensitive to infrared radiation because infrared radiations are not visible and can only be detected using certain infrared sensitive detectors.