Long relegated to the world of science fiction, lasers and rail guns are increasingly appearing in real life.

Railguns use electromagnets to fire projectiles at supersonic speeds, while lasers fire pure energy bursts.

In 2012, the US Navy test-fired a rail gun for the first time and later announced plans to put one on the guided-missile destroyer USS Zumwalt.

In 2014, the Navy mounted and tested a laser on the USS Ponce, an amphibious transport dock, successfully taking out the engine of a small inflatable boat containing a rocket-propelled grenade.