Pruning primarily focuses on tree health and structural integrity, while trimming is often performed to improve appearance and manage growth.