Six month old making gasping sounds

My six month old is making gasping sounds while he breathes every now and then. He was doing it before his six month check up and the doctor didn’t hear anything concerning.

Has anyone else have a baby do this ?