Pre-training allows the model to learn general language patterns, while fine-tuning adapts this knowledge to specific tasks, improving performance.