Dyes such as ICG and BBG are used to stain the ILM, enhancing its visibility during surgery. ICG has potential toxicity concerns, while BBG offers a favorable safety profile and excellent contrast, aiding in the precise removal of the ILM.