HEIC / HEIF are proprietary image file formats created by Apple.

If you need to convert them to JPG files on Linux (Ubuntu) here is a free way to do it without having to purchase any proprietary software:

sudo apt-get install libheif-examples

heif-convert IMG_3706.HEIC IMG_3706.jpg