The primary function of vacuum filtration is to separate solid particles from a liquid by using a vacuum to draw the liquid through a filter medium while leaving the solid particles behind. This technique is widely used in laboratories and industrial settings for various purposes.