Beneath is a preposition. A little trick to determining if a
word if a preposition - over the mountain, under the mountain,
beside the mountain, around the mountain, through the mountain,
around the mountain, above the mountain, beneath the mountain, up
the mountain, down the mountain, from the mountain, to the
mountain, etc. If you can't do it to the mountain, it probably
isn't a preposition.