How do people steady their videos like this?

I've seen videos people record with their iphone but they run it threw an app or computer software or something that makes it completely steady all the shakiness is canceled out how people do that is it an app

The way they do it is called IMAGE Stabilization. When you go upload your video click EDIT once it's uploaded and youtube has a thing you click that stabilizes it for you.