What is the function of a conjunction in a sentence

A conjunction is a part of speech that is used to connect words, phrases, or clauses within a sentence. It serves to link ideas, show relationships between different parts of a sentence, or combine information. Conjunctions can be used to join words (e.g. "and," "but," "or"), phrases (e.g. "in addition to," "as well as"), or clauses (e.g. "although," "because," "while"). Overall, conjunctions help to create more complex and cohesive sentences by connecting related ideas.