Why do we have government shutdowns?

The federal government is shut down. So how does this happen and who is affected?
Up Next
The federal government is shut down. So how does this happen and who is affected?