In each language there is a classification of words according to their functions in a sentence. The same is the case in English. This traditional classification of words is called parts of speech. Preposition - a word that shows the relationship of a noun or pronoun to something (or to someone). Helping to understand the connection between two words, it represents a type of large grammatical category known as service words (or applications). Virtually all English prepositions are official words, although there are exceptions. Prepositions have two functions. The first is to combine the noun with the rest of the sentence. The second is to indicate the position of the noun (object).

A small example: Kate is sitting at the table (Kate is sitting at the table). The lad stands at the car. There is a flower shop at the corner of the street (There is a flower stall on the corner of the street). In all sentences, the word “at” is a pretext that defines the connection between two objects, denoting a location at a certain point in space (behind, at, on).
English prepositions can be monolithic (for example, over; by; before; into; of) and complex (in fact, phrases with two or more words - along with; in spite of; together with and others).
In English, the preposition is “preposition” (pre + position = put in front). Accordingly, it is usually in front of another word. It can be a noun, pronoun, noun phrase and gerund. For example: - What did you step on? - I step on the brake; - What did you click on? - I hit the brake. English prepositions can change their position, but they are still closely related to the same object. Although it should be said that the debate as to whether it is acceptable to separate the preposition from its object or to end sentences
It is a pretext, constantly conducted. Philologists look at this problem differently.
What prepositions to use depending on the sentence are relatively easy to understand, the main thing is to remember. In general, they can be divided into three main categories - time, place, direction.
The prepositions of time in the English language function as indicators of the fact that at some point something is happening (happened or will happen).
They have champagne in the morning, brandy in the afternoon and Martini in the evening (They drink champagne in the morning, brandy at noon, Martini in the evening).
He read the book during the night.
Jonathan Swift lived in the seventeenth-eighteenth centuries (Jonathan Swift lived in the 17-18 centuries).
There was no plane for Paris on that day (There was no plane to Paris that day).
Let's go to the movies at eight o'clock (Let's go to the cinema at eight o’clock).
English prepositions of the place, like
suggests their name, associate a noun (pronoun, noun group, gerund) with a specific place. For example: Your ring has rolled under the sofa. The dog barks behind a door.
And the last category, the prepositions of direction, explain the movement to something (k, c, on). The main one is the preposition “to”, it indicates the direction to the goal (material place). All the boys and girls in the UK go to school (In the UK, all children go to school). The pear fell to the ground.
If the goal is a case, then “to” is characterized by an infinitive. We go by train from Moscow to Perm to see our parents (We go by train from Moscow to Perm to see our parents).
Two prepositions from this category are formed very simply; by combining "to" + "on" = onto (used to indicate movement to the surface; He gets onto the donkey) and in + to = into (movement inward; A man walks into a restaurant).
Many English prepositions are subject to change, becoming other parts of speech: adverb, union. For example: We are in the in the bedroom. Please come in. In the first case, “in” is an excuse; in the second, an adverb. Everyone came but Adam (Everyone came except Adam; but –– an excuse). She was not there but her boy-friend was (She was not there, but her friend was; but - union).