The National Electrical Code (NEC) requires that wiring exposed to the elements be made of materials rated for outdoor use. This applies to both direct burial and aerial (above-ground) installations. Additionally, all types of conduit must also be designed for wet or damp locations, depending on the specific application.