The occurrence of accidents in college and university chemical laboratories has raised significant concerns in society, emphasizing the need for effective safety education for students. In response, a virtual simulation teaching system for safety education in chemical laboratories has been developed, incorporating 3D visualization, network communication, multimedia, and human-computer interaction. This system transforms "typical accident cases", "hidden trouble investigations", and "accident response and evacuation" scenarios in different chemistry laboratory settings (including inorganic chemistry, organic chemistry, analytical chemistry, and physical chemistry) into interactive virtual simulation experiments. These simulations provide students with a highly realistic virtual experimental environment, enabling them to effectively learn how to respond to safety incidents such as fires, chemical burns, gas leaks, and electric shocks. By combining virtual and real knowledge, this teaching approach enhances students' engagement, eliminates the risks and costs associated with practical training, and improves their safety skills and problem-solving abilities. Ultimately, this course achieves the objectives of safety education and aligns with the educational policy of "three complete education".