Programmable Money; A look at the Bitcoin scripting language
Written By Anthony Ugwu
A fundamental feature of the Bitcoin network is the ability to transfer value (bitcoin) between participants in the network.
Throughout history, the human species has always exchanged value in one way or another but what the Bitcoin network offers us now is the ability to programmatically set what we refer to as spending conditions (a set of requirement(s) that must be met before we can transfer value).
The language for constructing these conditions is the Bitcoin scripting language called Script, and yes the language is called Script.
Follow here https://sha378.hashnode.dev/programmable-money to get Anthony's in-depth explanation on how scripts work and their different types.