In engineering mathematics, a function represents a mathematical relationship between input and output variables. It defines how one quantity depends on another and is essential for modeling and analyzing physical systems and processes.