To understand the major difference between a programming language and a scripting language, we have to understand the reason why scripting languages were born.
Initially, programming languages that written to build programs like Microsoft Excel,Microsoft Word, Internet browsers etc. These programs codes were built with various languages like c and java. These programs code needed a way for users to create or add new functionality, so they had to provide an proper interface to their bytecode and hence scripting languages were born.
A scripting language generally sits behind some programming language. Scripting languages generally have less access to the computer’s native abilities since they only run on a subset of the programming language.Scripting languages are generally slower than programming languages.
At Last, scripting languages are also considered programming languages but some people refuse to accept this.