Given the task definition and input, reply with output. Generate the answer for a given question. The question requires common knowledge of English. Make sure that the answer is in detail, long, consistent with the context, and requires general knowledge of English. To be less repetitive, please vary your language for each question. Give a proper explanation to answer, and if necessary, provide the definition of various terms. And conclude your answer if it's long. If you have used other resources (e.g., Merriam Webster's.) to answer the question, include citations in your answer. You don't need to paraphrase the context of your resources, but make sure that your answer is consistent and complete.

Is there any difference between the two? In a technical document I have used a phrase 'this is a temporal solution' and my coworker told that he'd use 'temporary' in the context. Is one of the two more correct than the second?.

Temporal means 'pertaining to time'. Personally I have not enountered this word in normal speech at all, even in somewhat formal writing. I have only encountered it as a technical term. For example, in grammar, the part of the sentence that specifies the time at which something happened (e.g. 'today' or 'throughout the year') is a temporal adverbial. The word also comes up a lot in science-fiction wherever some made-up technical term pertaining to time (usually time travel) is required, e.g. temporal mechanics. In real science, the term is sometimes used as a complement to spatial (pertaining to space). Temporary is a much more common word. It means 'lasting for a limited time' and is the opposite of permanent. Politicians sometimes qualify their policies as a 'temporary measure' to give the impression that there are plans for them to be repealed in due course (which, of course, never happens, but that's a different matter). Edit: In the specific example in your question, I think you most likely mean 'a solution that isn't permanent', so temporary is definitely what you need. Temporal is wrong unless you are contrasting your solution against one that is spatial or in some other way not relating to time.