Cassettes, chains, brake pads will wear out and need to be replaced periodically. Sealed bottom brackets, too. Shifters, derailleurs, brake calipers, and cranksets can last 50,000 miles or more if you keep them clean and properly adjusted and don't crash on them.