Parallelism is a sequence of expressions with a parallel structure, that is, symmetric. There is parallelism when there is a harmonious and logical connection between the different parts of the sentence and the text.
To have parallels, there must be correspondence and similarity between words, ideas, terms, ... that can be compared to each other. As is the case of a text where the lines begin with infinitives followed by prepositional phrases.
Parallelism is repeating grammatical constructions in the same way.
For example, the statement: "I came, I saw, I conquered" is parallel because each segment is NOUN + VERB (past tense). If it were written: I came, I saw, I was conquering" then the statement would not be parallel.