Why do scrum teams estimate work in story points?

Why do scrum teams estimate work in story points? Companies that adopt agile or scrum often estimate their work in story points. What are the advantages? How are estimations best done? Top-down versus bottom-up An estimation can be done top-down or bottom-up. The top-down estimation uses data of previous projects. Looking at this previous data,