Comparative negligence is a legal doctrine used to determine the degree of fault of each party involved in an accident or injury, allowing for the apportionment of damages based on their respective levels of responsibility. This principle recognizes that both parties may share some degree of liability, which influences the amount of compensation a plaintiff can recover. Essentially, it shifts some responsibility away from a single defendant to include the actions of the plaintiff as well.