In quantum mechanics, the wavefunction represents the probabilities for the different possible outcomes to a given situation. When a measurement is made, only one of the possibilities becomes actual. that’s what is called: the collapse of the wavefunction.