What are to pros/cons of rooting my OP6?

Been a while since I last rooted a phone (maybe two years?)

The warranty on my OP6 expires soon so I'm thinking if I should root it to gain more control.

Generally, what are the pros/cons?

Also, will I be vulnerable to security risks due to rooting?