Difference between access and scope modifiers

What is the difference between scope and access modifiers? The modifier changes the scope

These are two different concepts that are related to the visibility and use of variables, methods, classes and other program elements. Scope modifiers determine where in the code an element can be declared and used, and access modifiers determine who can access the element from other parts of the code.