The "Pipelines" section offer to create pipelines in two ways:
- YAML code
- Classic UI editor
What Classic means by them is the original way Azure DevOps pipelines are created. You build a pipeline by interactively using a GUI editor. A pipeline created from YAML, with the help of the assistant is the newer way.
Writing YAML code enables you to configure your CI/CD strategy as code, where, the Pipeline definition lives alongside and together with your code.
I recommend you use Classic UI editor and the "Pipelines" section for builds and the "Release" section for deployments.
If you want to use YAML just use the "Pipelines" section for builds and deployments and create a multistage pipeline.