What is the most important part in SEO?

What is the most important part in SEO? Optimization in page or optimization in page.