Here i would shortly give a detailed explanation of what a payable function is. We need to understand that Solidity provides us with a special modifier (payable) among others, which gives us the possibility of sending money in to function. In this article, the payable function will be explicitly explained to solidify your knowledge about payable modifiers.