Closure is developed when a specific variable is defined outside the current scope and it is accessed from within with some inner scope.