It is a type of fertilizer, but it would be more accurate to call it compost, which is basically just rich dirt. Not a fertilizer like the chemical pellets you buy.
There probably should be a wall to stop sand blowing in though. I suppose he can just magic up the sand every day.