Need help regarding dp + bitmask : https://www.geeksforgeeks.org/sum-subsets-dynamic-programming/

Can anyone give me some idea about : Sum over Subsets | Dynamic Programming - GeeksforGeeks

I’m not able to get the approach.
Any simpler explanation ?