A little background from the 'interwebs'..
HEIC is actually a file format used by Apple for storing images on your iPhones and Macs. Earlier, Apple used the widely popular JPEG format to let you capture and store photos on your machines. Starting in 2017, the company has made HEIC as the default file format for all the images that you capture on your Apple devices.
'.jpg and .png' is the web/cross platform standard..
hope this helps explain things a little better.