The loud noise is called 'thunder' or 'a thunder clap'. The
sudden increase in pressure and temperature from lightning produces
rapid expansion of the air surrounding and within a bolt of
lightning. In turn, this expansion of air creates a sonic shock
wave which produces the sound of thunder.