Unreal and Unity are 3D engines, OpenGL is a API on top of the graphics card driver much like Direct3D...they are both very different things!
Unity and Unreal engines are both built on top of APIs such as OpenGL and Direct3D
Unity and Unreal engines are both built on top of APIs such as OpenGL and Direct3D