So I saw this example on solidity documentation site, I understand how code is working but my issue is that I am unable to understand the problem statement.
The idea is to create one contract per ballot, providing a short
name for each option. Then the creator of the contract who serves
as chairperson will give the right to vote to each address
individually.
The persons behind the addresses can then choose to either vote
themselves or to delegate their vote to a person they trust.
Can anyone explain what was the exact problem of voting app.(meaning of delegation, chairperson or in general what we are trying to achieve here). code can be found on the following link. https://github.com/anaamnizami/solidity/blob/master/votingapp.sol