The distinction between conservative and non-conservative forces decides whether you can use mechanical energy conservation — or whether you must account for energy lost to heat.
Conservative force (NCERT Class 11 Physics Chapter 5, page 8): a force where the work done on an object between two points is independent of the path taken. Equivalently, the work done around any closed path is zero. Gravity and the spring force are the standard examples. Because their work is path-independent, you can define a potential energy function for them.
Non-conservative force (NCERT Class 11 Physics Chapter 5, page 10): a force where the work done depends on the path. Friction is the canonical example — drag a block from A to B along a longer path and friction does more negative work. No potential energy function can be defined for friction.
Conservation of mechanical energy (NCERT Class 11 Physics Chapter 5, page 11): when only conservative forces act, K_i + U_i = K_f + U_f. Total mechanical energy is constant.
The high-frequency trap: aspirants apply K_i + U_i = K_f + U_f even when friction is explicitly present. The moment any non-conservative force does work, mechanical energy is NOT conserved. You must use the work-energy theorem instead: K_f − K_i = W_conservative + W_non-conservative, where the friction term is typically negative.
Watch-out: a problem that says "smooth surface" means no friction — conservation applies. A problem that says "rough surface" or gives a friction coefficient means non-conservative work is present — conservation does NOT apply in its simple form.