Kill two birds with one stone

Means accomplishing two tasks with a single effort or action.

“By studying while commuting, she was able to kill two birds with one stone, making productive use of her time.”