Alibaba Group interview question

Describe the producer-consumer problem.