In programming, a variable is like a labeled box where we can put different values. It has a name and can hold information that can change as the program runs. We can assign values to variables, update them when needed, and use them in calculations. Variables help us store and work with data in our programs, making them flexible and adaptable to different situations.