The main purpose of Quality of Service (QoS) is to manage network resources by setting priorities for specific types of data on the network. This ensures that critical services and applications receive the bandwidth they need to perform effectively.