How important is pagrank? and what exactly it helps for?

Thanks.