Where is the preposition in the sentence order?Is preposition has at the end of the sentence?or where?

There is no one particular place in any sentence for a preposition. The reason is that a preposition and the words that go with it (the prepositional phrase) are used to modify or describe different other words, and it's best if the entire prepositional phrase is placed as close to whatever it's modifying as possible.

In the morning, we are going to the theme park.
There are 2 prepositions and prepositional phrases in that sentence. Both of those are being used as adverbs, telling more about the verb:
"In the morning" tells when and "to the theme park" is telling where.

Here are some further explanations about prepositions and prepositional phrases:

http://esl.fis.edu/grammar/rules/prep.htm

http://www.eslcafe.com/grammar.html
Scroll down and go through the whole section on prepositions.

http://www.englishclub.com/grammar/index.htm

In order to determine the position of a preposition in a sentence, it is important to understand what a preposition is and how it functions within a sentence.

A preposition is a word that typically shows a relationship between a noun or pronoun and another element in the sentence. Prepositions often express location, direction, time, or manner. Some common examples of prepositions include "in," "on," "at," "under," and "with."

In terms of word order, prepositions can occur in different positions within a sentence. However, it is most common for prepositions to appear before the noun or pronoun they are related to. For example:

- "The book is on the table." (Preposition "on" is before the noun "table.")
- "She walked into the room." (Preposition "into" is before the noun "room.")
- "They met at the park." (Preposition "at" is before the noun "park.")

That being said, prepositions can sometimes appear at the end of a sentence, particularly in certain sentence structures or when the object of the preposition is particularly long or complex. For example:

- "He's the person I'm talking to." (Preposition "to" is at the end of the sentence, following the complex noun phrase "person I'm talking to.")
- "They have nowhere else to go." (Preposition "to" is at the end of the sentence, following the adverb "else.")

So, while prepositions are typically found before the noun or pronoun they are related to, there are instances where they can appear at the end of a sentence. It is important to consider the context and structure of the sentence to determine the position of the preposition.