Origin of the Prefix "Con"

Is the prefix “con” (in such words as “consummation”) of Latin or English origin? If it is of Latin origin, is it derived from the Latin preposition cum?

It is Latin and derives from cum.

Thank you. I can see that lexicons explain that the word cum is changed to con when it is used as a prefix with some words.