Revenue, profit, and margin.

Define revenue, profit, and margin. How do they work in tandem?