A variable is a symbolic name associated with a value and whose associated value may change during the execution of a program. It serves as a fundamental component in programming, enabling developers to store, retrieve, and manipulate data efficiently within algorithms and applications.