What is the difference between EHIC and travel insurance?

What is the difference between EHIC and travel insurance?

Some travel policies will exclude treatment for pre-existing medical conditions, whereas your EHIC will cover everything that a resident of the country to which you are travelling would be covered for, including pre-existing medical conditions. Where is the EHIC valid?

See also  Where can I find a location that has at-home over-the-counter COVID-19 tests?