Lemon juice, when added to blueberries, enhances their flavor, making them taste fresher and more "berry-like". The acidity of the lemon juice also helps in breaking down the berries to release their juice, making the filling more flavorful and thick. In baking, the acid in the lemon juice can react with baking soda to help the tart rise.