The correct answer is: D. Goods are delivered.

Revenue is recognized when the goods or services are delivered to the customer. This is because at this point, the customer has accepted the goods or services and the company has earned the revenue.

Option A is incorrect because the agreement of sale is not enough to recognize revenue. The goods or services must also be delivered to the customer.

Option B is incorrect because cash is not always received at the time of delivery. For example, if a company sells goods on credit, it will not receive the cash until after the goods have been delivered.

Option C is incorrect because production is not enough to recognize revenue. The goods or services must also be delivered to the customer.

In conclusion, revenue is generally recognized being earned at the time when goods are delivered. This is because at this point, the customer has accepted the goods or services and the company has earned the revenue.