What is the difference between prop and attr in JQuery?

What is the difference between prop and attr in JQuery?

attr() returns the default value of the specific property of an element attribute whereas pop() returns the current value of the specific property of an element attribute.