Are you talking about lens flare? That's light refracting based on the shape of the lens glass and the iris or aperture.
Traditionally, orbs appear when the built in flash on a camera is close to the same level as the lens in the lay out of the camera face. Often it is dust particles floating in the air and in conditions of thick humidity, moisture. This usually only occurs in flash shots.