How does a brewery work?

Can you answer this question?