Corrosion has been the greatest problem in oil and gas industry, and many experts have always tried to combat this major problem. This has been given to the corrosion and inspection in oil and gas industry. Corrosion in oil and gas wells is driven by some electrochemical mechanisms, and when the system reaches a temperature below the dew point, the moisture will be converted to liquid and many droplets form on the pipe's wall. The corrosion in pipelines' coatings is one of the main problems in oil and gas industries for which a huge amount of money is spent each year. Coating is the first defense line in front of a corrosive environment in which pipes have been buried. Good function of coating depends on its adhesion to the metal surface. Finally, according to our results in this article, we show that, the chemical compounds inside the coating such as chlorides and sulphides can play an electrolyte role, which accelerates corrosion.