(covers information from several alternate timelines)
Slime was a substance known on many planets as existing both naturally and artificially. It was also associated with several animal species; among them, the Mellanoid slime worm and Denebian slime devil. (TOS: "The Trouble with Tribbles"; TNG: "Coming of Age") Slime may be referred to in the vernacular as "goo". (TNG: "All Good Things...")

Goo
In 2263 of the alternate reality, engineer Keenser kept leaking some very acidic green goo which he excreted when he sneezed. Though chief engineer Montgomery Scott feared some of the goo might land on the USS Enterprise's warp core and thereby kill everyone aboard the ship, that never happened, and the vessel was instead destroyed by Krall's Swarm drones. While the majority of the survivors from the Enterprise were being held prisoner in Krall's base, some of the goo was sneezed by Keenser on a door, allowing the Starfleet personnel to escape. (Star Trek Beyond)