A gardener is planning to purchase soil for his garden. One bag of soil covers an area of 4 square feet. If he needs enough soil to cover 32 square feet, how many bags does he need to buy?