Virtual laboratories are used to help teaching a course on lasers. The spectral emission of a laser, the Zeeman effect on the laser frequencies, the frequency stabilisation of a laser and the Lamb dip are the subjects chosen to virtually illustrate the properties of a laser. All the laboratories are very close to reality, including possible experimental missteps. The student is under the conditions he can find in the real laboratory and can spend as long as he wishes, at any time. The teacher can track the student via a data base that includes the eventual missteps which the student would have committed.
The use of a visual 3D display and a virtual spectrometer for the teaching of a course in molecular spectroscopy presents new possibilities. All the movements of the molecules are shown along with their relations with their characteristic spectra. The virtual laboratory simulates a true commercial spectrometer as well as a software of recognition. All the students simultaneously follow the laboratory under conditions very close to the reality of a modern industrial laboratory.