has anyone else been prescribed seroquel to treat insomnia?

I was once prescribed trazadone for sleep and then mirtazapine. I find it weird that I am now prescribed an anti psychotic to treat insomnia. For anyone who has been prescribed seroquel — what are the pros and cons you’ve experienced ?