Jenkins Pipeline execution engine supports two types of syntaxes such as Scripted Pipeline and Declarative Pipeline. Scripted Pipeline allows us to write the pipeline code in a Groovy DSL and Declarative Pipeline replaces Groovy variable assignments, control structures, loops, and exception handling with a predefined structure and model helps users of any level to create consistent, concise Pipelines easily without learning Groovy. Declarative has better syntactical features and easy to write and read the pipeline code compared to Scripted Pipeline.
If you want to learn Jenkins, you can sign up for this Jenkins Training course by Intellipaat.
Also, watch this video on Jenkins Pipeline Tutorial: