A wavefunction is a scalar function that describes the properties of waves.

See Quantum mechanics & Schrödinger equation