How JWT Authentication works?

How JWT Authentication works?