Wave functions are mathematical functions that describe the quantum state of a particle or system in quantum mechanics, encapsulating all the information about a particle's position, momentum, and other physical properties. They play a crucial role in the behavior of electrons in atoms, particularly within the framework of angular momentum and their quantized states.