Prepositions are words which usually precedes a noun or pronoun. The function of a preposition is to express a relation of noun or pronoun to another word or element in the clause. For example ‘the woman at the door’, ‘Man left after dark’, ‘what are you sorry for ?’

‘at, after, for’ in above sentences are prepositions.
(http://engtuto.com/prepositions)

There are more than 100 prepositions in English. But, their importance in English is no lesser than nouns, verbs etc. Prepositions are very important words. In fact, the prepositions such as of, to and in are among the ten most frequent words in English. Here is a list of prepositions which are commonly used. Many of these prepositions have more than one meaning. You must refer to usage in the link before using it.

It’s a myth. That one cannot end a sentence with a preposition, is a myth. It’s a myth invented in the late
17th century by linguistic commentators (Henry Fowler called them fetishists) that English ought to follow the rules of Latin grammar. It became a fad, made its way into some of the early mass produced textbooks, and became cannon among schoolteachers seeking simple, easy-to-teach rules with which to help students avoid common pitfalls in language.

Don’t the following sentences sound native?

who were you with?

From which ill-begotten excuse for a grammarian did you get the idea that you shouldn’t?

See what I did there? No? Let me try again.

Why do any prepositions appear in the end on phrases? Like who were you with?

Why not?

Catching on? No?

The trouble is, as the great Richard Feynman was want to say, you can’t teach a child anything by teaching them something wrong. English is not Latin. Hear that Caesar? Angli grammatica nostra sumus. It is not wrong to end a sentence with a preposition—in English. It is wrong to write a confusing sentence, and sometimes ending on a preposition, especially in a long sentence, can make less obvious, grammatical errors that may nonetheless give pause to your readers.

Author's Bio: 

Sunil Rajpal

Prepositions Explaied - http://engtuto.com/prepositions