Links are the most important part of SEO. They are used to measure the domain authority of the website. Links help in increasing your domain authority especially links from other websites that is external links. And that is how your website appears on search engines. The ones with high domain authority are ranked higher.