Electron-phonon coupling (EPC) is one of the most common and fundamental interactions in solids. It not only dominates many basic dynamic processes like resistivity, thermal conductivity etc, but also provides the pairing glue in conventional superconductors. But in high-temperature superconductors (HTSC), it is still controversial whether or not EPC is in favor of paring. Despite the controversies, many experiments have provided clear evidence for EPC in HTSC. In this paper, we briefly review EPC in cuprate and iron-based superconducting systems revealed by Raman scattering. We introduce how to extract the coupling information through phonon lineshape. Then we discuss the strength of EPC in different HTSC systems and possible factors affecting the strength. The comparative study between Raman phonon theories and experiments allows us to gain insight into some crucial electronic properties, especially superconductivity. Finally we summarize and compare EPC in the two existing HTSC systems, and discuss what role it may play in HTSC.