The circular flow of economics is a model to show the relationship between: