Messier 8, also known as the Lagoon Nebula, is one of only two star-forming nebulae that is visible to the…