Does unreal uses OpenGL or DirectX

I don’t know much about vulkan, but between dx and opengl, definitely dx is superior. OpenGL , on the other hand easy to implement, and best suit for the beginners.