Unveiling the Mysteries of NGC 6822 with James Webb Space Telescope