The epoxy resin, once applied, cured and hardened encases your electronics in a solid mass providing a barrier. These circuit boards have high walled sides forming an enclosure with the mounted electronic components sitting inside.
eBay