An outline of the general-purpose electron-gamma shower Monte Carlo code, EGS4, is given together with the code's applications to various types of research related to health physics such as for radiation detectors, dosimeters, and dose evaluations, including effective dose calculations. The applications to medical physics and education concerning radiation are also introduced.