I recently noticed that some words can be used in a sentence to literally mean "in terms of".
For example, compare the uses of these two sentences, "He kept his accounts religiously." "Religiously, he was a Christian".
In the second instance religiously means in terms of religion. The first instance is describing an action. And the other is just referencing the root word. Notice that some similar words cannot be a description of an actions. Like "ethnically" you can't do something ethnically. Its only meaning is in terms of ethnicity.
So I'm wondering is there a name for this type of word? the type of words that mean "in terms of blank"