Inversions occur in sentences where certain words or phrases are placed at the beginning to emphasize them. This includes negative words, expressions with "only", phrases with "so", and expressions of place or order. When these occur at the start of a sentence, the subject and verb are inverted, with an auxiliary used if the main verb is not "to be" or "to have". Inversions are used to highlight specific information or contrast.