Discharge of produced water (PW) and drilling wastes from oil and gas industry has a major impact to the flora and fauna. The purpose of this study is to investigate the PW impact on the Mediterranean region and to provide alternative ways to detect the harmful parameters present in the produced water and drilling waste. Study shows the PW and drilling waste analysis in lab and it shows the idea of using smart phone to know all the harmful parameters. Varies sensors are connected to water to detect the harmful parameters and these sensors are connected to Arduino and data can be viewed on the smart phone through things speak App. PW is produced in large amounts and has a multifaceted composition, having various toxic organic and inorganic mixes. Currently PW is treated in conventional ways such as multiphase separators, cyclones, and coarse filters to meets the existing regulation for discharge. Therefore, these treatment ways do not achieve more restrictive limitations to dispose or reuse the PW. Drilling waste is composed of Polynuclear Aromatic Hydrocarbon (PAH), Aliphatic Hydrocarbon, and heavy metals such as barium, chromium, cadmium, lead, strontium, mercury, lead, zinc, manganese, arsenic, copper, and Iron which are toxic to the surrounding environment. Toxic materials, which can threat the environment, such as Sulphide reducing microorganism and bentonite and barite reduce plant growth. The toxicity of PW waste can be decreased when properly treated before disposing into the surrounding environment. Studies in some area of Mediterranean region have displayed high level of some heavy metals associated with PW and drilling waste with concentrations higher than world health organization (WHO) standard; these have harmful impact on the regional environment.