Adverb
On which; -- used relatively; as, the earth whereon we live.
On what; -- used interrogatively; as, whereon do we stand?