In programming, a return value is the output that a function provides after execution, allowing the function to communicate results back to the caller. It is crucial for enabling modular code design, as functions can perform computations and return the results for further processing or decision-making.