Preheat the oven to 200 degrees. Wash the beets thoroughly, wrap them in foil, and put them in the oven for one hour. Cut the pumpkin and celery into cubes, and the onion into quarters. Put the vegetables in a baking dish, season with salt and pepper, and pour over the oil. Bake until soft, about 30 minutes.