What’s the difference between an optometrist and an opthalmologist? (and other eye issues)

What is the difference between an optometrist and an ophthalmologist? Many people have seen an optometrist at least once in their lives.  It’s where you go to look through the giant lens holder and say “1”, or “2” to get…