WEBGL vs P2D pros and cons

I have little to no experience in p5.js.
What are people’s thoughts on WEBGL vs P2D?