Its an outdated mechanic which is why hardly any games come with it now. Even Super Mario ditched it in Odyssey.
This is just a way to artificially boost difficulty in older games and some platformers. However there are games which have a permadeath mode, which for the most ardent of gamers can make for a unique, and interesting (also intense) experience.