This is an hourglass with sand flowing from the top glass bottle to the bottom of the hole. "The hourglass where the sand is flowing" means that time is passing by. Therefore, the expression can not only be used to specifically refer to the hourglass, but also can mean that time is passing.