A diffusion pump creates vacuum through the principle of gas diffusion by heating diffusion pump oil and using its vapor to trap air. While diffusion pumps are less expensive and require minimal maintenance compared to turbo molecular pumps, which are more complex and suited for critical applications, they function together as the diffusion pump needs a rotary pump for effective operation. Proper maintenance, such as topping up oil and preventing overheating, is essential for prolonging the life of diffusion pump oil and ensuring optimal performance.