The primary purpose of diplomacy between countries is to manage international relations and resolve conflicts peacefully.