How to Write a Synopsis?

I am deep into edits for my novel and still do not know how to write a synopsis or a blurb (recently learned those are not the same thing). Can anyone help provide some advice or a template on how to write an engaging and complete synopsis? How do you decide what parts need to be mentioned aside from general arc structure?

Thank you!