Brakes can be damaged for many reasons. With time, the brake shoes or the pads might get damaged due to heat, due to which they lose grip on rotors. Sometimes, oil seals can also leak on brakes. Excessive use of brakes or using them aggressively can also wear out the brakes.
These are just some of the reasons mentioned, which can lead to braking system failure. So when you think your car needs immediate attention, make sure you don’t compromise and get it checked by an experienced mechanic at the earliest.