The light emitted from a laser is a simple example of a 2-dimensional confinement of electromagnetic radiation. In this article, the force densities within electromagnetic radiation have been discussed as well within 2-dimensional and 3-dimensional confinements. The interaction has been described by a set of 4-electromagnetic equations. In which the equilibrium equation in the Energy-Time dimension (4th dimension) equals the well-known quantum mechanical Dirac Equation. In this way unifying electromagnetic fields with quantum fields. A new equation has been introduced which describes the interaction between electromagnetic radiation and a gravitational field.