Scattering of electromagnetic waves lies at the heart of most experimental techniques over nearly the entire electromagnetic spectrum, ranging from radio waves to optics and X-rays. Hence, deep insight into the basics of scattering theory and understanding the peculiar features of electromagnetic scattering is necessary for the correct interpretation of experimental data and an understanding of the underlying physics. Recently, a broad spectrum of exotic scattering phenomena attainable in suitably engineered structures has been predicted and demonstrated.Examples include bound states in the continuum, exceptional points in -symmetrical non-Hermitian systems, coherent perfect absorption, virtual perfect absorption, nontrivial lasing, nonradiating sources and cloaking, and others. In this paper, we establish a unified description of such exotic scattering phenomena and show that the origin of all these effects can be traced back to the properties of the underlying scattering matrix. two or three dimensions. Maxwell's equations describing spatial and temporal evolution of electric ( , ) t Er and magnetic ( , ) t Hr fields for an arbitrary system are