A recession is a contraction in economic activity that causes a decrease in incomes and…