The function and use of prepositions –
A preposition is placed before a noun to show the noun’s relationship to another word in the sentence. Examples include the following: above, about, across, against, along, among, around, at, before, behind, below, beneath, beside, between, beyond, by, down, during, except, for, from, in, inside, into, like, near, of, off, on, since, to, toward, through, under, until, up, upon, with, and within.
Try to avoid ending a sentence with a preposition. However, if you edit the sentence and the re-structured version sounds contrived or unnatural, you may end the sentence with a preposition. This is not ideal grammar architecture but it is acceptable.