JP or Notary – What’s the difference?

http://cloud1022.temp.domains/~lur7g6kn/wp-content/uploads/2020/12/q.jpg
Why are notaries listed sometimes and JPs listed others? What is the difference?
http://cloud1022.temp.domains/~lur7g6kn/wp-content/uploads/2020/12/q.jpg

When it comes to marriage ceremonies, it all depends on the state. In Connecticut, Massachusetts, New Hampshire and Vermont, justices of the peace perform civil weddings. But, In Maine and Florida civil officiants are called notary public, or notaries.