Plants in a garden provide various benefits, such as purifying the air through absorbing pollutants…