There area two types of scope Global scope is where the variable is at outside the function & Local scope is where the variable is inside the function
We always have to carefully with variables while assiging them, it may cause an error in between the local & global variable
Global variables can be reassigned that why be careful while assigning them both name should be unique.