A slice of lemon is added to a Coke to make it taste fresher by adding an extra citrusy taste; it can significantly boost the flavor profile of Coca-Cola.
The human tongue is remarkably sensitive to citrus and citric acids, so adding fresh lemon slices to a cold glass of Coke is a refreshing experience slightly different from that straight from the bottle or can.